0
Persistence.
How would you best achieve persistence in a c++ program? I'm making a basic calender that reads the date from a seperate file and displays all days in that month. What if i want to add the ability to let the user input special dates or marks to set on the calender. Well id have to implement the code which is straight foreward enough, and then somehow make the changes persistent, even if the program closes. So to do that would I just write any changes to a new "events" file then read from it everytime the program is entered, or is there an easier way? Thanks for any help or clarification in advance.
1 Answer
0
for simpler cases file storage are enough. but if you want something more I'd rather think of some light database like SQLite