411 REFERENCE · Wikibooks
C++ Programming/Code/Standard C Library/Functions/fputc
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
fputc
#include <cstdio>
int fputc( int ch, FILE *stream );
The function fputc() writes the given character ch to the given output stream. The return value is the character, unless there is an error, in which case the return value is EOF.
Related topics fgetc - fopen - fprintf - fread - fwrite - getc - getchar - putc