Compartir a través de


basic_ofstream::close

Closes a file.

void close( );

Remarks

The member function calls rdbuf -> close.

Example

See basic_filebuf::close for an example that uses close.

Requirements

Header: <fstream>

Namespace: std

See Also

Concepts

basic_ofstream Class

basic_ofstream Members

iostream Programming

iostreams Conventions