|
From: Scott L. <sco...@ya...> - 2003-08-19 13:03:38
|
When executing my dos program, it closes automatically. I have tried the =
FAQ which tells me;
You can use an input function at the end of you source. The following =
code is an example for asking the user to press Enter to continue:
#include <stdlib.h>
int main()
{
system("PAUSE");
return 0;
}
When I insert the [system("PAUSE");] I get the following message on the =
compiler)
implicit declaration of function `int system(...)'
The program is running but only remains on screen for a second or two, =
I'm using Dev C++ 4.01 on Winows ME.
Regards
Scott
|