Syntax:
#include <cstdio> int feof( FILE *stream );
The function feof() returns a nonzero value if the end of the given file stream has been reached.
Related Topics: clearerr, ferror, getc, perror, putc