Share via


ostrstream::str

Calls freeze, and then returns a pointer to the beginning of the controlled sequence.

char *str( );

Return Value

A pointer to the beginning of the controlled sequence.

Remarks

The member function returns rdbuf -> str.

Example

See strstream::str for a sample that uses str.

Requirements

Header: <strstream>

Namespace: std

See Also

Reference

ostrstream Class

iostream Programming

iostreams Conventions

Other Resources

ostrstream Members