C++实现程序隐藏后台运行,效果如下: 方式一: #pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" ) 方式二: