Saving highscore

I'm wondering how to save a highscore in a c++ console program. Like, if you get 1000 points, it will save that to a file, so it can be viewed the next time you open the program.
Topic archived. No new replies allowed.