How do I get the current position of the file pointer?
Ans:
We can get the current position of the file pointer by using the tellp( ) member function of ostream class or tellg( ) member function of istream class. These functions return (in bytes)positions of put pointer and get pointer respectively.
Ans:
We can get the current position of the file pointer by using the tellp( ) member function of ostream class or tellg( ) member function of istream class. These functions return (in bytes)positions of put pointer and get pointer respectively.
EmoticonEmoticon