Calling C++ member functions via a function pointer
Read this for detail : // 1 define a function pointer and initialize to NULL int (TMyClass::*pt2ConstMember)(float, char, char) const = NULL; // C++ class TMyClass { public: int DoIt(float a, char b, char c){ cout << “TMyClass::DoIt”<< endl; return a+b+c;}; int DoMore(float a, char b, char c) const { cout << “TMyClass::DoMore” << endl; … Read more