Re: [Dev-C++] run window keeps closing
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <qa...@ho...> - 2002-09-26 00:32:09
|
Hi Ray.
If you put
system("PAUSE");
at the end of your program the DOS-window will remain open after your=
program has terminated, until you press any key.
/J=F6rgen
*********** REPLY SEPARATOR ***********
On 2002-09-25 at 20:30 Kendall, Ray wrote:
Help! I am a brand new CS student, and am just learning C++. When I run=
my compiled program, a DOS window opens, and my program seems to work=
fine. Once I enter my last input, the program finishes and the DOS window=
closes. I can't see the output from my program.
I have been able to open a DOS window and run the program from there, but=
there has to be a better way! Is there any way I can
"compile and run" in one step?
Thanks very much,
Ray
|