Jump to content

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

From Wikibooks, open books for an open world
Syntax
#include <cstdio>
int feof( FILE *stream );

The function feof() returns TRUE if the end-of-file was reached, or FALSE otherwise.

Related topics
clearerr - ferror - getc - perror - putc