FlexiConfig is a very simple and lightweight library for INI style config file reading. It is written in pure C++11.
- Multiple section support
- Single parameter retrieval from particular section
- Complete section retrieval with all parameters in the section
[database]
db_user = postgres
db_pass = postgres%1
db_name = public
db_host = localhost
db_port = 5432
db_schema = public
[network]
host = localhost
port = 38383
g++ -std=c++11 -o flexi_config.o flexi_config.cpp
ar -rv libflexiconfig.a flexi_config.o
- Import source and header files into the new Win32 console application project
- Compile the static library
It is possible to use this library in two ways:
- Import source and header files into your porject anc compile the code as part of the project
- Compile the code as static (or dynamic) library and link you program to it (see compilation section)