如何用Windows API编写一个简单程序

2024-10-13 17:51:53

1、首先打开文本编辑器,输入下面的代码:#include <windows.h>int main(){ MessageBox(NULL,"Hello","World",MB_OK); return 0;}

如何用Windows API编写一个简单程序

3、在命令行里面输入命令【cl 源代码文件名】。按enter键执行。

如何用Windows API编写一个简单程序
猜你喜欢