The Microsoft Input/Output Stream Classes (iostream.hlp) (Table of Contents; Topic list)
fstream::is_open
fstream                                     Up Contents Index Back
──The Microsoft iostream Classes────────────────────────────────────────────
 
  int is_open() const;
 
  Remarks
 
  Returns a nonzero value if this stream is attached to an open disk file
  identified by a file descriptor; otherwise 0.
 
  See Also
 
  filebuf::is_open, fstream::open, fstream::close
 
 
                                     -♦-