fgetc
Syntax:
  #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.