I have a program, in which each user has some fixed data: ID, name, password .. and only has one that varies during the execution of the program: the balance.
I have managed to serialize the fixed data, when I start the program I load them from a dat, and when the program finishes the new users I have registered are saved. But with the balance I am not able to do so, only the initial value is saved. Any suggestions?