开发者

Game window application with additional console window

My previous demo开发者_JS百科 was an XNA project that had a game window, as well as a console window for debugging information, however, the option is either not there or moved in a C++ project. Does anyone know how to enable a console window that will run alongside a game window in VS2010?


You can use AllocConsole to create a console for you process. Once you do that, you can use std::cout or, perish the thought, printf to write to the console.


You can view Console in WinForms app with the Visual Studio output window

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜