ios::eof
bool eof ( ) const;
ios
  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.

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