|
From: xRxIxPx <xr...@gm...> - 2003-08-17 19:38:08
|
At 13:32 8/17/2003 +0200, Per Westermark wrote:
>Why bother about the most portable single-line solution?
>
>When I develop a console app, I want it to behave as a console app, i.e.
>not require some extra input in the end.
>
>I add the system("pause"); command during testing, just to allow the
>program to be run from the editor. When I stop compiling with debug, I
>don't want the pause anymore.
>
>For a portable solution, the code should try and figu
I think that would be some kind of overkill, because few applications will
need that feature after development.
I'd rather prefer that devcpp creates a console, then runs the app, then
runs pause and then frees the console. This even could be done by calling a
batch file using comspec command line.
|