ifstream::seekg converted too FILE * (C++/IO)

Started by
1 comment, last by ajm113 15 years, 5 months ago
Quick Question: What is the function's name for FILE* from seekg in ifstream? I don't know what is 'FILE*' seekg is basically. I know this is a dumb question and I did google, but the functions I found right arn't clear if they are a cousin of seekg from ifstream.
Check out my open source code projects/libraries! My Homepage You may learn something.
Advertisement
Are you asking what the ifstream equivalent of fseek is? If so, see seekg.

EDIT: Ah, you edited your post - Yes, seekg() is what you want. Considering it takes the same parameters as fseek() and does the same thing according to the documentation [smile]
OH yeah I was thinking of fseek the same time while typing the post so I guest it was merging into my thoughts on witting this, ha. :D

OK, thanks it seems my compiler likes it, but still got some debugging to do still. I'll ask a question if I can't get over a road block, thanks again!
Check out my open source code projects/libraries! My Homepage You may learn something.

This topic is closed to new replies.

Advertisement