"filereader" is a library that simplifies reading configuration files by providing a class with which you register parameters that are to be read from the file. After all parameters have been registered, you can then read the configuration file. Comments are supported as well as default values for some types of parameters. Any parameter types that has an input operator defined, i.e. istream& operator<< (istream& in, T& t), can be used. The current values can also be written to a configuration file for future use.
There is a test program with an example configuration file. This will have to serve as documentation for now...