Parse config file in C/C++ - Stack Overflow
It looks more straightforward to implement your own parser than to try to adapt an existing one you are unfamiliar with. Your structure seems - from your example - to be line-based. This makes parsing it easy. It generally makes sense to load your file in...