What's the difference between using the functions fgetpos()
and fsetpos()
and using the functions ftell()
and fseek()
to get and set a position in a file?
What are fgetpos()
and fsetpos()
good for? Why would they be used instead of ftell()
and fseek()
?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…