iostream hierarchy ios:: eof |
cplusplus.com |
Check if End-Of-File has been reached.
The function returns true if the eofbit stream's error flag
has been set by a previous i/o operation. This flag is set by standard i/o operations
when the End Of File has been reached.
Parameters.
Return Value.
true if eofbit stream's state flag is set.
false otherwise.
Basic template member declaration ( basic_ios<charT,traits> ):
bool eof () const; |
See also.
good,
fail,
bad,
rdstate,
clear
ios class