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
Computer Science,
6 months ago
Math,
6 months ago
Chemistry,
6 months ago
Computer Science,
11 months ago
Computer Science,
11 months ago
Math,
1 year ago