◄ifstream► ◄Up► ◄Contents► ◄Index► ◄Back► ──The Microsoft iostream Classes──────────────────────────────────────────── void close(); Remarks Calls the close member function for the associated filebuf object. This function, in turn, closes the file and disconnects the file from the filebuf object. The filebuf object is not destroyed. The stream's error state is cleared unless the call to filebuf::close fails. See Also ◄filebuf::close►, ◄ifstream::open►, ◄ifstream::is_open► -♦-