使用Windows API弹出消息框
#include<Windows.h>
INT WINAPI wWinMain(HINSTANCE hInstance,HINSTANCE hPreInstance,LPWSTR szCmdLine,int nShowCmd)
{
return MessageBox(NULL,L"Hello World",L"Win32 Hello World",0);
}
使用Windows API弹出消息框
#include<Windows.h>
INT WINAPI wWinMain(HINSTANCE hInstance,HINSTANCE hPreInstance,LPWSTR szCmdLine,int nShowCmd)
{
return MessageBox(NULL,L"Hello World",L"Win32 Hello World",0);
}