Mail Archives: djgpp/1996/09/01/19:29:52
> #include <stdio.h>
> void main()
> {
> puts( "-------MY PROGRAM WORKS!------");
> }
>
> And that's it...you think that it would work right...NOT REALLY! It keeps
> giving me an error saying:
> Error: Function 'puts' should have a prototype in function main()
Hmmm...interesting... :) I always thought that puts was defined in the
stdlib...I use puts all the time, and I always have stdlib included,so
if you include that header, it should work fine... :)
(Sorry if I am a little late on this one...)
Leathal.
- Raw text -