Tuesday, September 30, 2014

How to stop console window in visual studio 2010, 2012, 2013 after run program.

If you see this screen while programming with visual studio 2010, 2012, 2013?
See this message "press any key to continue"?
If run program with Ctrl + F5, you can see that.


But, sometimes we can not see that because of it disappear flash. It's terrible!!
If you want to see that follow these steps.
(Ordinary, you don't need these step if you made project with console application template)



Step 01. Open your project you want. Go to menu PROJECT -> (your project name) Properties...



 Step 02. In Properties tree, find Configuration -> Linker -> System



 Step 03. In there, Change SubSystem to Console (/SUBSYSTEM:CONSOLE).
You can select with arrow on right side.
After that, Click OK button.
It's done!


No comments:

Post a Comment