只需要在stdafx.h 中加入这一句话就可以了
#ifdef _DEBUG
#pragma comment(linker, "/subsystem:console /entry:wWinMainCRTStartup")//我用VS2012
#endif
MFC工程使用printf()
最新推荐文章于 2022-04-04 19:19:27 发布
只需要在stdafx.h 中加入这一句话就可以了
#ifdef _DEBUG
#pragma comment(linker, "/subsystem:console /entry:wWinMainCRTStartup")//我用VS2012
#endif