main()前添加下面代码

#pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" )