gcc not compiling

A.G. prothonotar at tarnation.dyndns.org
Tue Nov 1 03:06:52 UTC 2005


On Mon, 2005-10-31 at 21:03 +0200, Dotan Cohen wrote:
> I'm just getting started in programming C. My first attempt:
> #include < stdio.h>
> void main () {
>     printf("\nHello World!\n");
> }
> 

Doltan,

I see long discussions about stuff. In case no one has actually answered
your question, the problem is you have a space between "<" and "stdio.h"
and so the compiler is looking for a while with an embedded space in it.

Get rid of that space and your program should compile (though you'll get
some of the same warnings).




More information about the fedora-list mailing list