I've been studying C++ for a few months now and am working on a project, which is essentially a finance calculator which has been specially tailored to a single person's need. She liked the first draft of the functioning .exe, but has asked for a few add ons.
The one I am the most baffled about, probably because I haven't gotten to learn this feature in the C++ library yet, is how to save the outputs of a C++ program (command line, no GUI) to a text file, then reload it for comparsion to the outputs of the current running program. The idea:
Save the amounts for her bills for one month once she finishes. Next month when she needs to use the program again, after she inputs the numbers for the month, it loads the file from the previous month, then displays the differences between this month and last month. This is to see which bills are costing more or less, such as electric bills.
****Doing the comparing shouldn't be difficult at this stage, but I don't know how to create save and load features.****
Can anyone just give me the shimmy on it, and I research the rest? Thanks a bunch.