隐藏C语言程序运行的黑窗口,加入预编译命令:(预编译,Linker链接,windows模式,黑窗口是dos模式)#pragma comment(linker,"/subsystem:\"windows\"/entry:\"mainCRTStartup\"")