Answer the question
In order to leave comments, you need to log in
What libraries do you use to create a configurator for c++ programs?
Good day!
The project uses some parameters that would be convenient to change from the config, because they are unchanged at runtime, and I would not want to recompile anything when changing any parameter.
Previously, I wrote my bike config, with the help of which I added parameters to the file and read them during initialization.
Now, in another project, there was a need for a similar tool, which made me think, maybe there are similar tools in boost or in stl already, so that every time I don’t write the config processing in a new way, while already obviously debugged and tested?
Answer the question
In order to leave comments, you need to log in
In Qt, this is QSettings. It can encapsulate work with settings stores depending on the OS (Windows - registry, Linux - local ini files in my opinion). You can hardcode the use of an ini file.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question