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

From Wikibooks, open books for an open world
Jump to navigation Jump to search

fgetc[edit | edit source]

#include <cstdio>
int fgetc( FILE *stream );

The fgetc() function returns the next character from stream, or EOF if the end of file is reached or if there is an error.

Related topics
fopen - fputc - fread - fwrite - getc - getchar - gets - putc