The functions seekg() and seekp() can be called with absolute or relative positions. To handle
absolute positions, you must use tellg() and tellp(), which return an absolute position as a value
of type pos_type. This value is not an integral value or simply the position of the character as an
index, because the logical position and the real position can differ. For example, in Windows text
files, newline characters are represented by two characters in the file, even though it is logically only
one character. Things are even worse if the file uses some multibyte representation for the characters.