Syntax:
#include <fstream> pos_type ifstream::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