Saving a high score to the registry in C++

Started by
6 comments, last by ukdeveloper 19 years, 4 months ago
Can someone post some example code? Thanks.
---"What? What is it? Is it the monkey in the pants? It's the monkey in the pants, isn't it. Don't give me that look."
Advertisement
Use a file. The registry is more for actual important stuff.
I agree with the above. I wouldn't mess with the registry unless you have to. There's a reason that Windows warns you when you open up the registry.

If you don't want your players messing with the scores, you can encrypt the scores.
I WISH SOMEONE WOULD FIX THE DAMNED LOGIN!
Okey dokey, I'll do that.
---"What? What is it? Is it the monkey in the pants? It's the monkey in the pants, isn't it. Don't give me that look."
Does it have any in the VC++?
Just save the scores as binary instead of ascii.
Binary is too easy to understand! :P
Can you not just write to a new file called, say , scores.dat ? .dat files are a pain to read, and even more of a pain to edit. It's my understanding that they are easy to read and write to, though.

This topic is closed to new replies.

Advertisement