C++ Programming/Code/Standard C Library/Functions/putc

putc
The putc function writes the character ch to stream. The return value is the character written, or EOF if there is an error. For example:

Generates a copy of the file tmp.c called tmpCopy.c.


 * Related topics: feof - fflush - fgetc - fputc - getc - getchar - putchar - puts