basic_fstream::close
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
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Closes a file.
void close( );
The member function calls rdbuf -> close.
See basic_filebuf::close for an example of how to use close.
Header: <fstream>
Namespace: std