|
From: Ed C. <em...@ed...> - 2004-01-04 01:49:56
|
Hi Pat,
=20
At the end of the program, right before the "return 0;" line, add this:
system("PAUSE");
=20
Alternatively, you can open a command prompt, go to the directory where =
you
compiled the program, and type "helloworld" (or whatever you named it).
=20
Console programs don't stay open unless you tell them to.
=20
Hope that helps.
=20
-Ed
=20
=20
=20
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...] On Behalf Of Pat Hunt
Sent: Saturday, January 03, 2004 7:30 PM
To: dev...@li...
Subject: [Dev-C++] first time user
I bought a book on how to program and Dev C++ 4.01 was included. I =
tried to
do the hello world but every time I try to run the program after I =
compile
it I get a flash of some screen and that's all. Dev stays the same. =
What
do I do???
|