次の方法で共有


ostream

Creates a type from basic_ostream that is specialized on char and char_traits specialized on char.

typedef basic_ostream<char, char_traits<char> > ostream;

Remarks

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

Requirements

Header: <ostream>

Namespace: std

See Also

Concepts

<ostream> Members

iostream Programming

iostreams Conventions