I want to simply save a list of variables to "preset" files and be able to retrieve them whenever I choose this preset. I'm not sure exactly how to do this. Can anyone help me get started this?
Printable View
I want to simply save a list of variables to "preset" files and be able to retrieve them whenever I choose this preset. I'm not sure exactly how to do this. Can anyone help me get started this?
What exactly are you having problems with? Is it the file I/O part?
I'm just not sure how to save the variable to a file so I can access them at a later time...
So I don't lost my settings
What you do is write your information to a file and then read that information whenever you need it. Read up about <fstream>.