for MSDOS add the following line:
system( "PAUSE" );
or simply open a command prompt and run the executable from there.
-j.
-----Original Message-----
From: Jill John Thomas [mailto:jil...@co...]
Sent: Monday, July 07, 2003 5:53 PM
To: dev...@li...
Subject: [Dev-C++] Please help :)
Hello,
I am brand new to programming and I downloaded your compiler, but after I
put in my code and go to run the program on a dos window to see if it works
the window pops up really fast and then goes away, how do I get the window
to stay open to test my code? Sorry I am new to this and still learning
Thanks
p.s.
I am trying to practice the code in my schoolbook
Jilly
|