Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a C++ console application in Visual Studio. Is there a way I can view my cout/cerr output when I am running/debugging the application from Visual Studio.

What I have tried:

Debugging in visual studio. Online help.
Posted
Comments
Kornfeld Eliyahu Peter 25-Jun-18 7:19am    
Both cout and cerr (stdout and stderr) are go to the console by default... You should see the console window while debugging...
RedDk 26-Jun-18 18:02pm    
It should "pop" up when you step into the code; you might be touching a bit of the VS interface with the mouse so the app window receives no focus. Therefore, try minimizing VS to see if the app is indeed maximized "behind".

Just a thought.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900