#include #include int main(int argc, char **argv) { libconfig::Config c; c.readFile("conf.conf"); std::string s = c.lookup("lol.lol"); const char *tmp; c.lookupValue("lol.lol", tmp); s = tmp; }