C++ version-read config file