C++ File handling #122192
Replies: 1 comment
-
In C++ programming, "tellg" and "seekg" are member functions of the std::ifstream class, which is used for input operations on files. Here's what they do:
These functions are often used when you need to read data from a file at specific locations or when you need to move around within a file during input operations. For example, you might use them when reading structured data from a file where you need to skip certain sections or when you need to rewind and reread a portion of the file. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
General
Body
what the reason we use tell g and seek g pointers
Beta Was this translation helpful? Give feedback.
All reactions