I write console programs in C ++. After compilation, when I run the program from my file browser, cmd.exe closes automatically, so I can not see how my programs are displayed.
The only way I could get around this was to run the program from inside cmd.exe
Is there a way to keep cmd.exe open after the program terminates?
Is there a parameter that I can change somewhere? I do not want to run the script package with cmd.exe / K
Thanks!
[Edit] I don't know if that matters, but I'm on Vista x64
source share