I have created a very simple C++ class that will parse a configuration file and return the value of the request key. You can get the code from http://github.com/bmaynard/iniReader.
I created this class for my CPUHog application (http://github.com/bmaynard/CPUHog) which records CPU and memory usage of applications running so you can find out which processes where hogging your CPU time.
Please feel free to leave feedback if you have any suggestions or problems. I do plan on make the class more powerful as its very simple at the moment.
**Update: I have made a few updates to the library including:
- Changed getOption and getOptionChar to getOptionToString and getOptionToChar
- Added getOptionToInt
- Added cleanupIniReader which will empty the results from the parsed configuration file