闲得无聊,试用gcc编写winapi简单例子(编译成功)

代码:

#include <stdio.h>
#include <windows.h>


int WINAPI WinMain (HINSTANCE h, HINSTANCE hh, PTSTR p, int aaa) {
MessageBox (NULL, "Hello, World!                \n\n\n\n\n", "Title", MB_OK);
return 1;
}

运行效果:


猜你喜欢

转载自blog.csdn.net/weixin_39410618/article/details/80937759
今日推荐