On Tue, 25 Mar 2008 12:59:20 +0100
kilo <[EMAIL PROTECTED]> wrote:

> Hi
> 
> while this is not a general C/C++ list, just to get you started
> 
> On Tue, Mar 25, 2008 at 12:16 PM, Savitra Sapre
> <[EMAIL PROTECTED]> wrote:
> >
> > [EMAIL PROTECTED]:~/programs$ gcc -o savvy savvy.c
> >  savvy.c:1:18: error: cstdio: No such file or directory
> > savvy.c: In function 'main':
> > savvy.c:4: warning: incompatible implicit declaration of built-in
> > function 'printf'
> 
> You should use:
> #include <stdio.h>
> instead of <cstdio>

Indeed. If C++ code is wanted you have to use g++ not gcc, and rename
the file savvy.cxx (or another C++ extension).

Regards,
Nick
_______________________________________________
Geany mailing list
[email protected]
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany

Reply via email to