如何新建一个CPoint对象
1个回答
2017-04-25
展开全部
#include <windows.h>
int WINAPI WinMain(
HINSTANCE hInstance, // handle to current instance
HINSTANCE hPrevInstance, // handle to previous instance
LPSTR lpCmdLine, // command line int nCmdShow
// show state )
{
MessageBox(NULL,"hello world","lsk",MB_OK);
POINT p;
p.x=10;
p.y=11;
return 0;
}
int WINAPI WinMain(
HINSTANCE hInstance, // handle to current instance
HINSTANCE hPrevInstance, // handle to previous instance
LPSTR lpCmdLine, // command line int nCmdShow
// show state )
{
MessageBox(NULL,"hello world","lsk",MB_OK);
POINT p;
p.x=10;
p.y=11;
return 0;
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询