Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Closes a file.
void close( );
Remarks
The member function calls rdbuf -> close.
Example
See basic_filebuf::close for an example of how to use close.
Requirements
Header: <fstream>
Namespace: std