Visual Studio 2010 "Press any key to continue . . ." does not show
c++, visual-studio-2010
Solution
According to comments about a VS2010 bug, you should get desired behavior if you set the subsystem property of the project to "console". Go to menu Project > Properties > in new window select Configuration Properties > Linker > System > property SubSystem should have the value Console (/SUBSYSTEM:CONSOLE)
Problem
"Press any key to continue" wordings do not show in console when my app finishes execution. I know this prompt should be showing in "start without debugging" mode, but it does not! As soon as I enter any parameter and hit enter, console window closes without showing the output... What should I do to make the console app prompt me for any key when it finishes execution?