LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 702 users online 158069 members 2098 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Video | Dictionary | News | FAQ
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
2 online / 99 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic

My Game
Replies: 4Last Post Oct. 2, 2004 11:13pm by Duekiller
Single page for this topic Email Print Favorite
( xxxxxxxx )


Technician
Reply
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

3:04 pm on Sep. 15, 2004 | Joined Sep. 2004 | 22 Days Active
Join to learn more about xxxxxxxx United Kingdom | 33 Posts | 255 Points
sakurag


Dairy Product Addict

Ad Free
Reply
How would you like to store the scores?  You can store them in the registry or on a text file or a resource file.

-------
I've got spurs that jingle jangle jingle.
As I go riding merrily along.
And they sing, "Oh, ain't you glad you're single?"
And that song ain't so very far from wrong.

9:25 pm on Sep. 15, 2004 | Joined Oct. 2002 | 460 Days Active
Join to learn more about sakurag Washington, United States | Straight Male | 1892 Posts | 8074 Points
sriehl


Dairy Product Addict

Ad Free
Reply
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.

-------
Chi dara fine al gran dolore?
Win stuff by just searching the net


3:44 pm on Oct. 1, 2004 | Joined Sep. 2004 | 246 Days Active
Join to learn more about sriehl Montana, United States | Straight Male | 678 Posts | 3455 Points
sriehl


Dairy Product Addict

Ad Free
Reply
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

-------
Chi dara fine al gran dolore?
Win stuff by just searching the net


3:46 pm on Oct. 1, 2004 | Joined Sep. 2004 | 246 Days Active
Join to learn more about sriehl Montana, United States | Straight Male | 678 Posts | 3455 Points
Duekiller

Dairy Product Addict
Reply
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)

-------
Some days I am the dog, Some days I am the hydrant. In either case the sun shines in my face.


11:13 pm on Oct. 2, 2004 | Joined May 2004 | 421 Days Active
Join to learn more about Duekiller Ohio, United States | Metrosexual Male | 936 Posts | 5166 Points
Single page for this topic Email Print Favorite

Quick Reply

You are signed in as our guest.

Looking for something else?
 

  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic