how to make the pointer back to the beginning ?

Hello !!!!
i need help here , this is my problem

i used fscanf to read a file but now i need to fscanf it again
from the beginning. Meanwhile my pointer stay in the eof.

how i can put it in the beginning again ?????
i already read about seekg, but the problem is my file can change everytime, meanwhile when using seekg we have to count the bytes. My point is i just want to put it in the beginning....

Thx for read this!!!
Last edited on
i already solve it hahaha...
How ?
Topic archived. No new replies allowed.