std::ftell

From cppreference.com
< cpp | io | c
Defined in header <cstdio>
long ftell( FILE *stream );

Returns the file position indicator for the file stream stream.

[edit] Parameters

stream - file stream to examine

[edit] Return value

File position indicator on success or EOF if failure occurs.

[edit] See also

gets the file position indicator
(function)
moves the file position indicator to a specific location in a file
(function)
moves the file position indicator to a specific location in a file
(function)