Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 highscore help
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
kirby_col7




PostPosted: Fri Jan 11, 2008 10:43 pm   Post subject: highscore help

what are some ideas for making a highscore datafile and how could i get it to sort, i was thinking arrays with a sort in it any other ideas?
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Fri Jan 11, 2008 11:46 pm   Post subject: RE:highscore help

consider Insertion Sort -- you already know that your highscore datafile is sorted, so when adding a new highscore, you just need to find the first line where the recorded score is lower.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: