"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?
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)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With