Capturing cout in Visual Studio 2005 output window?

后端 未结 7 1608
北海茫月
北海茫月 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

    Also, depending on your intentions, and what libraries you are using, you may want to use the TRACE macro (MFC) or ATLTRACE (ATL).

提交回复
热议问题