Translations of this page?:



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

The function seekg() is used with input streams, and it repositions the “get” pointer for the current stream to offset bytes away from origin, or places the “get” pointer at position.

Related Topics: seekp, tellg, tellp, seekdir

• • • IndexRecent changesRSScc