ifstream::seekg converted too FILE * (C++/IO)
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.
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]
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]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement