Compartilhar via


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

Reference

basic_ofstream Class

iostream Programming

iostreams Conventions

Other Resources

basic_ofstream Members