다음을 통해 공유


strstreambuf::str

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

char *str( );

반환 값

A pointer to the beginning of the controlled sequence.

설명

No terminating null element exists, unless you explicitly insert one.

예제

See strstreambuf::freeze for a sample that uses str.

요구 사항

Header: <strstream>

네임스페이스: std

참고 항목

참조

strstreambuf 클래스

iostream 프로그래밍

iostreams 규칙