共用方式為


basic_ofstream Members

The following table lists the members of the basic_ofstream Class. For a list of members inherited by the basic_ofstream class, see basic_ostream Members.

Reference

Constructors

basic_ofstream

Creates an object of type basic_ofstream.

Member Functions

close

Closes a file.

is_open

Determines if a file is open.

open

Opens a file.

rdbuf

Returns the address of the stored stream buffer.

See Also

Concepts

basic_ofstream Class

basic_ostream Class

basic_ostream Members

Thread Safety in the Standard C++ Library

iostream Programming

iostreams Conventions