[Geany] Geany Digest, Vol 29, Issue 34

Savitra Sapre savitrasapre at xxxxx
Wed Mar 26 09:53:21 UTC 2008


hello actually i tried both  but it still is telling the same result
so..please look into the thing....here is the problem


savitra at savitra-laptop:~/programs$ gcc -o savvy savvy.c
savvy.c:1:18: error: stdio.h: No such file or directory
savvy.c: In function 'main':
savvy.c:3: warning: incompatible implicit declaration of built-in function
'printf'
savvy.c:3: warning: return type of 'main' is not 'int'
savitra at savitra-laptop:~/programs$ cat savvy.c
#include<stdio.h>
void main()
{ printf("hello");
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/users/attachments/20080326/4b2c4c8b/attachment.html>


More information about the Users mailing list