I am learning c++ and I keep running into a common problem: I cannot find the reasons behind function names.
For example, ifstream seekg() function. I attempt to look up the function on websites like:
http://www.cplusplus.com/reference/istream/istream/seekg/
https://en.wikipedia.org/wiki/Seekg
http://en.cppreference.com/w/cpp/io/basic_istream/seekg
Many times, none of these sources will give me a clue as to why it is named "seekg". Why is there a 'g' at the end? why does the ofstream have seekp (instead of g)?
Knowing that kind of information would make memorizing function names so much easier. Essentially, I'm looking for a resource for finding the etymology for function names. :)
Thanks for any help,