Quote:
Originally posted by L06@N
The other way to run it w/o the cin.get(); is to compile it to .exe format and then run the .exe file from the Shell (aka DOS) prompt, but that does take a bit longer to do and is more or less the long way around it.
|
Basically that is the one and only correct way since it is a CONSOLE program after all. So good point there.
But if you don't wan't to start up the console (command) then use
"cin.get()" in a loop wich checks for a key-press and exits. This way you can can just double-click on your console proggy and use it like it is.