#ifdef USE_CONSOLE
AllocConsole();
freopen("CONIN$", "r", stdin);
freopen("CONOUT$", "w", stdout);
freopen("CONOUT$", "w", stderr);
#endif
#ifdef USE_WIN32_CONSOLE
FreeConsole();
#endif
开启调试控制台
最新推荐文章于 2023-08-18 11:53:53 发布
#ifdef USE_CONSOLE
AllocConsole();
freopen("CONIN$", "r", stdin);
freopen("CONOUT$", "w", stdout);
freopen("CONOUT$", "w", stderr);
#endif
#ifdef USE_WIN32_CONSOLE
FreeConsole();
#endif