共用方式為


strstream Class

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

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

class strstream : public iostream 

Remarks

The object stores an object of class strstreambuf.

注意

This class is deprecated. Consider using stringstream or wstringstream instead.

Requirements

Header: <strstream>

Namespace: std

See Also

Concepts

strstream Members

iostream

<strstream> Members

Thread Safety in the Standard C++ Library

iostream Programming

iostreams Conventions