次の方法で共有


<fstream>

Defines several classes that support iostreams operations on sequences stored in external files.

For a list of all members of this header, see <fstream> Members.

#include <fstream>

See Also

Concepts

<fstream> Members

Header Files

Thread Safety in the Standard C++ Library

iostream Programming

iostreams Conventions