共用方式為


stringstream

Creates a type basic_stringstream specialized on a char template parameter.

typedef basic_stringstream<char> stringstream;

Remarks

The type is a synonym for template class basic_stringstream, specialized for elements of type char*.*

Requirements

Header: <sstream>

Namespace: std

See Also

Concepts

<sstream> Members

iostream Programming

iostreams Conventions