#include "stdafx.h"
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
// TODO: Place code here.
return 0;
}
在vs2015 中怎么把这些代码创建出来 在cpp中只有这些
安装win32支持 http://jingyan.baidu.com/article/63acb44ac4964c61fcc17eb7.html ,然后新建一个win32程序,自动就有这些代码
这个是c语言封装的主函数 ,你不需要实现这个函数 在你跑程序的时候 编译器自动调用这个函数