Results 1 to 2 of 2
  1. #1
    miker100 is offline Member
    Join Date
    Jan 2009
    Posts
    1
    Rep Power
    0

    Default Highscores program help! please!

    Hey guys
    i wrote a multiple choice program for 2 quizes and now i need to write a highscores
    i have 2 txt. files with highscores that are empty but now I would like to overwrite them with the users highscore

    right now I have created 2 reading and writing files but I dont know how to properly overwrite my highscores txt file with the new one

    please help because this project is due tmw:)

  2. #2
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Posts
    1,046
    Rep Power
    10

    Default

    Look at FileWriter. It allows you to specify whether to append to the existing contents; in your case, that's false.

Similar Threads

  1. Executing a program within a program
    By gibsonrocker800 in forum New To Java
    Replies: 5
    Last Post: 05-12-2008, 08:24 AM
  2. Replies: 0
    Last Post: 04-04-2008, 02:40 PM
  3. Replies: 0
    Last Post: 10-04-2007, 09:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •