ostrstream::pcount

傳回元素數目的計數會受控制序列寫入的。

streamsize pcount( ) const;

傳回值

指定受控制序列中的項目數目。

備註

成員函式傳回 rdbuf - > pcount

範例

使用 pcount的範例參閱 strstream:: pcount

需求

標題: <strstream>

命名空間: std

請參閱

參考

ostrstream Class

iostream 程式設計

iostreams 慣例