io:seekp From C++ Reference previous page next page seekp Syntax: #include <fstream> ostream& seekp( off_type offset, ios::seekdir origin ); 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 previous page start next page