#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!"<