0

In visual C#, there was this thing where you can add a settings file and refer to a setting in that settings file in your code. With that, I was able to save user settings easily. But I can't find it in C++. Is there no settings file option? If not, what are some solutions for saving basic strings or ints so that my program won't forget them later?

3
Contributors
4
Replies
5
Views
8 Years
Discussion Span
Last Post by WaltP
0

In C++ for reading some static data you can use .ini format file.
Which is a format of configuration file.
For saving data one can use custom format.
And for limited data one can again use .ini format.

0

You'd be better off just creating a data file rather than trying to figure out the INI file format and the complexities of parsing it.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.