隐藏C语言黑窗口

隐藏C语言程序运行的黑窗口,加入预编译命令:

(预编译,Linker链接,windows模式,黑窗口是dos模式)

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

原文地址:https://www.cnblogs.com/sjxbg/p/5557480.html