A previous post of mine dealt with setting up an empty project on Visual Studio 2012, which you can find if you click here. If you follow the instructions there you will find that the terminal disappears even when you run the program with "Start Without Debugging". This is because some of the default properties are not set up correctly on opening an empty project. We can rectify this by modifying the project properties. Go to the project dropdown menu in the title bar and select "ProjectName Properties" for the appropriate ProjectName
Configuration Properties -> Linker -> Systemin the left hand side bar, you should see something like this
Subsystemas shown above, you should see a range of options. Select
Console (/SUBSYSTEM:CONSOLE)and you get
CNTL + F5you should see a terminal appear with your output inside (along with some other stuff!!).