it is a C++ class with 5 objects and 25 functions . at run time i want to pass the object and name of the function as parameters and make the object passed call the specified method .
it is like
void actionToBetaken(object,string method_name)
{
object.method_name();
}
how it is possible in C++ ?