Re: [Dev-C++] Window closes after Run
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: fred m. <man...@ya...> - 2004-11-02 06:03:41
|
Hello ,
This is a follow up with respect to my question about the execution window which closes after Run.
First, I am using Dev C++ (4.9.9.0) and I have Windows XP.
When I use :
#include <stdio.h>
int main(int argc, char **argv)
{
printf ("Press ENTER to continue.\n");
getchar (); /* wait for input */
return 0;
}
OR
#include <stdlib.h>
int main(int argc, char **argv)
{
system ("pause"); /* execute M$-DOS' pause command */
return 0;
}
I get error messages (6 for the first and 4 for the second) which are :
stray' \204' in program.
these messages are after the following :
in function ' int main(int,char**)' which is not assigned as error.
thanks.
---------------------------------
Lèche-vitrine ou lèche-écran ? Yahoo! Magasinage.
|