structures in file

i created a file for snake game and append scores with name of that person in a structure every time when i play game
now i want to know
how much structures are appended in that file
so that i can read that much structures and sort it and output the high score
need help please
Topic archived. No new replies allowed.