Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open black Console(Output) Window in windows form application in Visual Studio

I can't find how to open that black window that I can cout and stuff. I would appreciate if anybody could help.

Thank you very much in advance.

like image 745
Sammy Avatar asked Feb 25 '23 07:02

Sammy


2 Answers

Default key mapping is Ctrl + W,O

Or do View menu -> Output window

There is also an immediate window which let's you execute statements, like ?myVal and it will tell you the value. It can be found at Ctrl+D,I or Debug->Windows->Immediate

like image 121
taylonr Avatar answered May 09 '23 23:05

taylonr


That's a console window`, and you open it with AllocConsole. See all of the Console Functions at MSDN.

like image 22
Ken White Avatar answered May 09 '23 22:05

Ken White