请问怎样在基类实例化后调用派生类里的专有方法?
例如:class A {
public:
         virtual void operator();protected:
         A(void)
{
//***
}
……
}
class B : public A {
public:
static B* Create(){return new B;}
virtual void Execute();
bool bOnlyAudio;
CString strProfileName;
CString strVersion; B(void)
{
bOnlyAudio = false;
spProfile = NULL;
}
         void operator(); // 在这个函数中会调用anotherOperator,但anotherOperator不是虚函数
         void anotherOperator();
……
}A* a = new B();
a->operator();// 可以吗?