seekp [C++ Reference]
Keywords: io,seekp
Date: 2009-06-11T02:07:39-0700

[[seekp]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- fr
- it
- jp
- pl
- ru
- tr

## seekp

Syntax:

        #include <fstream>
        ostream& ostream::seekp( off_type offset, ios::seekdir origin );
        ostream& ostream::seekp( pos_type position );

The seekp() function is used with output streams, but is otherwise very similar to seekg().

Related Topics: seekg, tellg, tellp, seekdir

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •