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?
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?
"Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
-Christopher Hitchens
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>.