What I want to do is to be able to access a method that was overridden in a subclass. I could do it in Java but don't know how to do this in C++. It would be something like this:
PHP Code:
class A
{
public:
void method();
};
void A:method()
{
//do something
}
class B : class A
{
public:
method();
};
void B:method();
{
//do what is in class A's method() and then do something else
}