不含黑色背景提示符在源码中加入(#include下面) #pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" ) // 设置连接器选项