Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - fputc http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   fputc

   Usage
   #include <stdio.h>
   int fputc(int c,FILE *fp);

   Description
   fputc writes the character c to the stream fp.

   Example
   #include <stdio.h>
   FILE *fp;
   main()
   {
   char *line = "This is an example ";
        fp = stdout;
        while(*line)
             fputc(*line++, fp);
   }

   Return Value
   fputc  returns  the  last character output to the stream.  An  EOF  is
   returned on error.


See Also: fgetc getc getchar

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson