Capturing cout in Visual Studio 2005 output window?

后端 未结 7 1610
北海茫月
北海茫月 2020-12-05 15:15

I created a C++ console app and just want to capture the cout/cerr statements in the Output Window within the Visual Studio 2005 IDE. I\'m sure this is just a setting that I

7条回答
  •  被撕碎了的回忆
    2020-12-05 15:32

    Is this a case of the output screen just flashing and then dissapearing? if so you can keep it open by using cin as your last statement before return.

提交回复
热议问题