[Geany] Query regarding gcc

kilo kg_kilo at xxxxx
Tue Mar 25 11:59:20 UTC 2008


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 <savitrasapre at gmail.com> wrote:
>
> savitra at savitra-laptop:~/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>

Cheers

kilo



More information about the Users mailing list