4

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.

Sammy
  • 885
  • 3
  • 13
  • 32

4 Answers4

4

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

taylonr
  • 10,732
  • 5
  • 37
  • 66
3

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

Ken White
  • 123,280
  • 14
  • 225
  • 444
  • Thank you very much for your help. But could you please be a little bit more helpful? Should I just call AllocConsole() and it is going to create the black screen and the output when I cout? Because if so, it doesnt work or I do it wrong. Thank you very much in advance. – Sammy May 05 '11 at 18:30
1

Do not hesitate, install on your Visual Studio the Open Command Line extension. You can see how easy is to open a new cmd console on the picture below:

enter image description here

jMiguel LA
  • 330
  • 1
  • 2
  • 17
0

This is an old question but since it is not answered: For Visual Studio 2017 under menu Tools->Nuget Package Magager->Package Manager Console