I have been writing scores for a player to a text file using ofstream and it works perfectly however, everytime I run the program, it overwrites the previous data I saved.
How can I write to the file AFTER what's already in the text file, for instance.
I'm still a little confused, my program writes out the data fine but I don't know how I can add more to the text file without it replacing the text already in the file.
This is my writer code that writes some data into a text file.