read data from a file

how do you read a specific section from a file. I don't want to get the whole line just part of the middle of it.
http://cplusplus.com/reference/iostream/istream/seekg/
http://cplusplus.com/reference/iostream/istream/read/

Hopefully, those will help. If you have a delimiting character, however, getline also works. Just set the delimiting character as the third parameter.

-Albatross
Topic archived. No new replies allowed.