1.

How To Get The Current Position Of The File Pointer?

Answer»

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.

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.



Discussion

No Comment Found