Re: [Dev-C++] Dev-C++] won't let me see the results
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Per W. <pw...@ia...> - 2007-11-05 02:53:20
|
Dev-C++ is behaving the standard Windows way, i.e. console applications
started from a graphical program closes as soon as the application ends.
Just add a system("pause") command at the end of main(), or add a command
to read from stdin.
/pwm
On Sun, 4 Nov 2007, qian han wrote:
> Dear all,
>
> I was experiencing a problem as follows: after compiling (successfully) the
> Dev C++ immediately shuts off the output window, not letting me have a
> chance to look at the result. The output windows flashes and then
> disappeares.
>
> MSF C++ doesn't have this problem, but I really don't want to switch back to
> that.
>
> Does anybody know what the problem is and how to resolve it? Thanks a lot.
>
|