So I use this standart code to save some textual data into a text file. Everything works fine. But I want to implement one additional feature like if the user selects an existing file I want the program to append the existing file instead of overwriting it.
The second feauture I want to implement is that if a user saves data I want the program to remember the folder path where the user saved the data so that during the next run the program will offer to write in the same folder or even file. Should i use and .ini file for this or something?
Please see my current simple code.