bool bad ( ) const;
Check if an unrecoverable error has occurred.
The function returns true if the badbit stream's error flag has been set by a previous i/o operation.
Notice that this member function is not the opposite of good().
true if badbit stream's state flag is set.
Basic template member declaration ( basic_ios<charT,traits> ):
bool bad () const;
good, eof, fail, rdstate, clear