3行代码告诉你,如何使用成员函数指针作为函数参数 //定义成员函数指针 typedef void(Sheet:: *ReadObjFunc)(string); //Sheet为类名 //使用成员函数指针为参数 bool Sheet::ReadObj(string strObjData, ReadObjFunc readObjFuc) { (this->*readObjFuc)(strObjData); } ReadObj(str, "Circle", &Sheet::ReadCircle);//调用