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