RE: java file read/write question
- From: Alex Parks <mehgcap@xxxxxxx>
- To: programmingblind@xxxxxxxxxxxxx
- Date: Mon, 05 Nov 2007 14:32:17 -0500
Thanks. A lot of this is over my head but I will keep working with it.
Have a great day, Alex
----- Original Message ----- From: "Sina Bahram" <sbahram@xxxxxxxxx To: <programmingblind@xxxxxxxxxxxxx Date sent: Mon, 5 Nov 2007 14:01:59 -0500 Subject: RE: java file read/write question
I hope this link is useful?
Take care, Sina
-----Original Message----- From: programmingblind-bounce@xxxxxxxxxxxxx[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Alex
Sent: Monday, November 05, 2007 12:13 PM To: programmingblind@xxxxxxxxxxxxx Subject: java file read/write question
I did a simple dice-rolling game for a project in the first java
have taken. We don't have to, but I would like to know how I can
score.txt file to keep a high score. I know about the comparison
file's content to the current score and such, but how can I read
if the current score is higher, write to score.txt? I think I can
Scanner to read, but I am not sure how to do it, and I have no
clue how to
write. I use Notepad as my editor and compile at the command line. Thanks for any help.
Have a great day, Alex __________ View the list's information and change your settings at http://www.freelists.org/list/programmingblind
__________ View the list's information and change your settings at http://www.freelists.org/list/programmingblind
__________View the list's information and change your settings at http://www.freelists.org/list/programmingblind