LiveWire Peer Support Network

Printable Version of Topic "My Game"

- LiveWire Teen Forums & College Forums (http://www.golivewire.com)
-- (http://www.golivewire.com/forums/support-technical.html)
--- Programming & Application Development (http://www.golivewire.com/forums/forum-211-s-0.html)
---- My Game (http://www.golivewire.com/forums/peer-snnoa-support-a.html)


-- Posted by xxxxxxxx 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


-- Posted by sakurag 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.


-- Posted by sriehl 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.


-- Posted by sriehl 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


-- Posted by Duekiller 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)


www.golivewire.com