Re: gcc not compiling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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).


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux