#pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"") int main() { } 转载于:https://my.oschina.net/u/1789051/blog/916056