次の方法で共有


ofstream

A type basic_ofstream specialized on char template parameters.

typedef basic_ofstream<char, char_traits<char> > ofstream;

Remarks

The type is a synonym for template class basic_ofstream, specialized for elements of type char with default character traits.

Requirements

Header: <fstream>

Namespace: std

See Also

Reference

basic_ofstream Class

iostream Programming

iostreams Conventions

Other Resources

basic_ofstream Members

<fstream> Members