basic_ostream::tellp

报告在输出流中的位置。

pos_type tellp( );

返回值

确定在输出流。

备注

如果 失败false,成员函数返回 rdbuf-> pubseekoff(0,curin)。 否则,它将返回 pos_type(- 1)。

示例

使用 tellp有关示例,请参见 seekp

要求

标头: <ostream>

命名空间: std

请参见

参考

basic_ostream Class

iostream编程

(mfc)约定