0
C++ and remembering data
Hey. im looking for the way to remember the results from c++ program. a thing is, im going to add something every day and i need program to remember what i was adding last days from the first day of the month. is a easy way to do something like this?
1 Respuesta
+ 8
The first thing which comes to mind is by utilising <fstream> to write and read to a text file so that your results can be somewhat 'saved' and 'loaded' whenever needed.
I created a diary with that, so yes it is perfectly possible and feasible. However, there is a catch if you are not familiar at dealing with files in C++. A lot of reference may be needed.