|
From: <san...@ya...> - 2003-08-27 21:40:31
|
Strange...
I tried your example, and it did compile with no
problem (except a warning, due to main not returning
an int - main is supposed to return an int
nowadays...).
Are you sure you created an empty project with C as
language?
Are you sure you are using the latest version of
Dev-C++ / Mingw32 ?
Sandy/Moonlight
--- Ricardo Artur Staroski <sta...@in...> a
écrit :
---------------------------------
Hi, I'm having trouble when building a C source.
I wrote a simpleHelloWorld:
----------------------------------------
#include<stdlib.h>
#include <stdio.h>
void main(){
printf("HelloWorld");
getch();
}
----------------------------------------
but when Itry to build it the editor opens the file
"C:\mingw\include\stddef.h"
andstops, this is the content of thefile:
----------------------------------------
/*
* This isjust an RC_INVOKED guard for the real
stddef.h
* fixincluded in gccsystem dir. One day we will
delete this file.
*/
#ifndefRC_INVOKED
#include<stddef.h>
#endif
----------------------------------------
Howcan I fix this?
Thank you very much for yourattention...
Ricardo Artur Staroski.
PS: Forgive for my english,It isn´t my native
language...
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
|