What is the use of seekg( ) & seekp( ).
Answers
Answered by
0
seekg(), tellg(), seekp(), tellp()
In C++ we have a get pointer and a put pointer for getting (i.e. reading) data from a file and putting(i.e. writing) data on the file respectively. seekg() is usedto move the get pointer to a desired location with respect to a reference point.
In C++ we have a get pointer and a put pointer for getting (i.e. reading) data from a file and putting(i.e. writing) data on the file respectively. seekg() is usedto move the get pointer to a desired location with respect to a reference point.
Similar questions
English,
7 months ago
Hindi,
7 months ago
Chemistry,
7 months ago
Computer Science,
1 year ago
Math,
1 year ago