次の方法で共有


ostrstream Class

Describes an object that controls insertion of elements and encoded objects into a stream buffer of class strstreambuf.

For a list of all members of this type, see ostrstream Members.

class ostrstream : public ostream 

Remarks

The object stores an object of class strstreambuf.

注意

This class is deprecated. Consider using ostringstream or wostringstream instead.

Requirements

Header: <strstream>

Namespace: std

See Also

Reference

ostream

Thread Safety in the Standard C++ Library

iostream Programming

iostreams Conventions

Other Resources

ostrstream Members

<strstream> Members