For some reason, a bunch of functions won't compile using fstreams- most importantly, seekg and seekp:
Error : 'seekg' is not a struct/union/class member
readertest.cp line 41 readMe.seekg(1);
I have the fstream and iostream headers included. I've even downloaded example code that worked for other people, but still the same error.
Is there some reason why such functions would not be recognized? Any suggestions/ideas would be appreciated.
Thanks!
(BTW, I'm running an old version of Metrowerks Codewarrior IDE on Macintosh.)