This should be quite easy for you mighty C++ veterans.

How do I create a highscores table in a game, so that I can view it and add to it?

I have a feeling it involves it looking in a .txt file and making changes to it.

Thanks