Answer File Analyzer

I thought there was a boost library that allowed me to parse unix conf files?

I suppose it also had other functions, that is, it could parse the windows ini files, and I think that the XML based configuration files could be made or were in the way too.

Any idea what is called? I am looking at the program parameters library, and it does not look like the library documentation that I wanted to use just a couple of weeks ago.

EDIT: Well, I think it could be a library of program parameters, but I think that maybe I was looking for other examples of documentation ... maybe lessons.

Can someone point me towards the full tutorial to read the conf file?

EDITOR: Found. The Boost Property Tree library I was looking for!

+3
source share
3 answers

All answers on this page are good.

The specific library in boost that I received is called the property tree. However, I will point out that it is a relatively new feature and is only available from the last two or two revisions. My default installation in Kubuntu 10.04.1 does not have this, so I had to download the boost library and create it myself.

+1
source

Boost allows you to analyze several formats of configuration files; this object is part of Boost.ProgramOptions .

+3
source
0

Source: https://habr.com/ru/post/1767292/


All Articles