putc
Syntax:
#include <cstdio> int putc( int ch, FILE *stream ); 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: int ch; generates a copy of the file tmp.c called tmpCopy.c. |