|
|
#include <iostream.h>int eof() const;
The eof( ) function is a member of ios.
The eof( ) function returns nonzero when the end of the associated input file has been encountered; otherwise, it returns zero.
Related functions are bad( ), fail( ), good( ), rdstate( ), and clear( ).
|
|