Thursday, July 9, 2009

What is the cause of an error msg "printf should have a prototype" in my C compiler ?

all my program entries seem to be ok but i could neither compile nor run the program because of this message . What should i do ? pls help

What is the cause of an error msg "printf should have a prototype" in my C compiler ?
Do you have an include for stdio.h? If not, add:





#include %26lt;stdio.h%26gt;





to the top of your programme source file.


No comments:

Post a Comment