io:tellg

C++ Reference

tellg

Syntax:

    #include <fstream>
    pos_type tellg();

The tellg() function is used with input streams, and returns the current “get” position of the pointer in the stream.

Related Topics: seekg, seekp, tellp