From: Earnie B. <ear...@ya...> - 2002-10-26 02:35:44
|
>>However, >>>C:\MinGW\temp>gcc -c hello1.c >>>hello1.c:1:2: invalid preprocessing directive #inlcude >> >>This error should be the clue that hello1.c doesn't contain >>the code you >>posted above. >> >>Earnie. >> > > Which is odd because the code IS in the hello1.c file and I used the > same switches to try and compile it. Maybe my environment wasn't update > correctly. I will check that AND I will post to the list. I wasn't sure > if the site examples should go there. > No, hello1.c has `#inlcude <windows.h>' instead of `#include <windows.h>'. Read the error message. Earnie. |