Open main menu

Wikibooks β

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

< C++ Programming‎ | Code/Standard C Library‎ | Functions


#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