Free webinar! How to Make Generative AI Work for You
Get my free ticket+ 4
Just add all the inputs in a file (maybe txt)
I don't know C and C++ so I can't show you a code related to that
But I know python!
I can show you an example!
Do you want?
+ 3
There is no way to save data to memory when the program exits. Once the program exits, the data will be lost. You will need to save the data to a file before the program closes. Then when you open the program you can import the data again
+ 1
Basic example with some useful links: https://code.sololearn.com/cxkl7hITXLFj/#
Take a look at https://github.com/goblinhack/c-plus-plus-serializer, a header only serializer
Otherwise use a database, e.g. http://srombauts.github.io/SQLiteCpp/