The Microsoft Input/Output Stream Classes (iostream.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
ios::bad
ios                                         Up Contents Index Back
──The Microsoft iostream Classes────────────────────────────────────────────
 
  int bad() const;
 
  Remarks
 
  Returns a nonzero value to indicate a serious I/O error. This condition
  corresponds to the badbit error state being set. Do not continue I/O
  operations on the stream in this situation.
 
  See Also
 
  ios::good, ios::fail, ios::rdstate
 
 
                                     -♦-