Computer Science Canada Opening/editing files |
Author: | cavetroll [ Tue Dec 12, 2006 3:37 pm ] |
Post subject: | Opening/editing files |
I am working on a program that needs a high score list. I am wondering how to open a file so it can be viewed and how to get an integer value from the document. Any help would be greatly appreciated. |
Author: | Clayton [ Tue Dec 12, 2006 3:48 pm ] |
Post subject: | |
First of all, Welcome to CompSci! Second of all, this question has been answered many times. Make use of the search feature at the top of the forum. Or look through the forums manually, also, take a look through the Turing Walkthrough for a number of other tutorials here. |
Author: | Cervantes [ Tue Dec 12, 2006 5:10 pm ] |
Post subject: | |
Please post these topics in [Turing Help]. This is not a tutorial. First, check out the Turing Walkthrough, as Freakman stated, and read the tutorial on File Input/Output. Then, search the tutorial section for highscrores. Looky what I found by searching: http://www.compsci.ca/v2/viewtopic.php?t=5340 http://www.compsci.ca/v2/viewtopic.php?t=11079 http://www.compsci.ca/v2/viewtopic.php?t=7499 http://www.compsci.ca/v2/viewtopic.php?t=10800 |
Author: | [Gandalf] [ Tue Dec 12, 2006 8:05 pm ] |
Post subject: | |
Also, you might want to take a look at my High Scores Class to see how it would be done in a OOP fashion once you understand the basics[/plug]. ![]() |