Udostępnij za pośrednictwem


strstream::pcount

Returns a count of the number of elements written to the controlled sequence.

streamsize pcount( ) const;

Return Value

The number of elements written to the controlled sequence.

Remarks

The member function returns rdbuf -> pcount.

Example

See strstreambuf::pcount for a sample of using pcount.

Requirements

Header: <strstream>

Namespace: std

See Also

Reference

strstream Class

iostream Programming

iostreams Conventions

Other Resources

strstream Members