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

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

feof[edit]

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