LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 770 users online 224199 members 1405 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
BleedingSteelWings
For you these wings bleed my enemies' blood so I can ...
Mood: Hopeless
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
5 online / 36 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Adding Reply

Adding Reply
Archived Topic: It will not be bumped to the top of the forum.
Topic My Game
Membername   Not a member? Sign Up Free (takes 20 seconds)
Password   Forgotten your password?
Post

Font:   Size:   Color:

FAQ Keyword Search:
Post Options
Favorites Manager
Notify me of new replies to this topic by email
Notify me of new replies to this topic by private message
Original Post
xxxxxxxx Posted at 3:04 pm on Sep. 15, 2004
OK well i have to make a game for my course at college.  But i need to put in a scoreboard that holds the top 10 score even when the c++ programme closes.  Would somebody plz send me the code for this thanx

Replies
Duekiller Posted at 11:13 pm on Oct. 2, 2004
write the variables to a file and have the program read it back when the program restarts

edit: what year are you?

(Edited by Duekiller at 2:13 am on Oct. 3, 2004)

sriehl Posted at 3:46 pm on Oct. 1, 2004
here, I searched google and one of the first few sites was this one... check it out, it should get you started on the right direction if you are just going to use a file to store the scores.

http://www.cplusplus.com/ref/cstdio/fopen.html

sriehl Posted at 3:44 pm on Oct. 1, 2004
Do you really expect people to just give you the code?

If they did it would be a shame because it would be more worthwile for you to figure it out for yourself.

If people give you links to good tutorials on the subject or if you go to google, you can probably get a quicker solution.

sakurag Posted at 9:25 pm on Sep. 15, 2004
How would you like to store the scores?  You can store them in the registry or on a text file or a resource file.
All 4 previous replies displayed.