Mail Archives: djgpp/1998/12/31/08:30:23
I'm new at this too, but I saw two potential problems...
On Wed, 30 Dec 1998 13:26:54 -0800 (PST), Essidartha Emerald
<essidartha AT yahoo DOT com> so kindly spent valuable time writing:
>
>
>My hello world doen't work :( how can this be??
>
>#include
^^^^^^^^^^^
What do you want to #include? My first statements are usually
#include <stdio.h>
>
>int main()
>{
> printf("Hello world!\n");
> exit(0);
^^^^^^^^
I believe this function requires another header file (that's what the
#include statements are for). More simply you could just change this
to:
return 0;
>}
>
>I got the message:
>
>get program exit code -1 (oxffffffff)
>0 is Zero
>Is there something wrong with the code or is the compiler not working
>right or what did I do wrong?
>
>I have tried it a few times.
- ratboy
(don't be surprised if you email me and the response
comes back from somewhere else - iname.com is just a
forwarding service)
- Raw text -