seekp

提供:cppreference.com
< cpp | io
移動: 案内, 検索


文法:

    #include <fstream>
    ostream& ostream::seekp( off_type オフセット, ios::seekdir 始点 );
    ostream& ostream::seekp( pos_type 位置 );

seekp()関数は出力ストリームに対して使用されますが、それ以外の点に関しては、seekg()と非常によく似ています。

関連トピック: seekg, tellg, tellp, seekdir

個人用ツール
名前空間
変種
操作
案内
ツールボックス