//A Test to read Config files // The Config File Should be a text file // and the content as follows // key=value #include #include #include typedef void (*pfun)();//The Function Pointer static bool readCfgFile(const char * cfgfilePath,const std::string &key,std::string &value){ //Open The Config File std::fstream cfgfile; cfgfile.open(cfgfilePath); if(!cfgfile.is_open()){ std::cout<<"Failed to open the file!"<