Saving information to access later
Hello,
I'm rather new to both these forums and java. At the moment I'm trying to write a program to help with the day-to-day of my restaurant. Everything is going surprisingly well, except I'm having serious trouble getting my program to save figures and re-access them on another run of the program. What happens is java deletes and re-creates the .txt file I've stored my information in every time I run, then re-creates it.
The goal is to have this file store the 'double' amount I've saved for taxes each day separated by a blank space. Therefore I can get the program to access these numbers and add them up so I can see how much I've saved in total.
Any help on how I can do this will be greatly appreciated.