By the way, I set the mode for "a" because I wanted to append the score, and as you know "a" also creates a new file.
But thanks alot for the help, now I can finish my whole program.
Just consider that you will be allways addding to file in append mode, so you get 'log file' effect. You never clear it if it exists. Therefore it is more common to update file by reading it fully in, changing information in memory and again writing in 'w' mode to file.
Pyguy62, I am new here, and didn't really take time to mark it as 'solved', because I was so amazed of how quickly I got an incredible helpful response after 20 min. I apologize if I made it look like I didn't appreciate the help, but know that I am deeply thankful.
I will mark this as 'solved' and of course upvote PyTony right now.
Hi I'm having a problem implementing a mini shopping cart drop down in the header to show the user all the products they have in their shopping cart. It seems the only solution for this is Ajax, and I've looked all over and can't find anything that I could possibly ...
Help! I want to create a java program that finds the highest even integer among the values entered by the user. Stop asking values when a value less than 1 have been entered. If no even integer is entered, display "No Even Integer"