iostream hierarchy
ios:: eof
  cplusplus.com  
bool eof ( ) const;

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.

none
 

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


© The C++ Resources Network, 2001