complaining about gcc compiler

Frank Cox theatre at sasktel.net
Fri Sep 17 19:30:54 UTC 2010


On Sat, 2010-09-18 at 00:52 +0530, zico banerjee wrote:
> "z1.c: In function ‘main’:
> z1.c:3: warning: incompatible implicit declaration of built-in
> function ‘printf’"

Since your program is doing some basic i/o you need to have a #include
<stdio.h> statement at the beginning of the program.


-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com



More information about the users mailing list