I was pretty long in some Java project, and calling the parent's virtual functions went like this:
int func(..) {
super.func(..);
}
But now as I return to C++, this is the way I thought It'd work (for Constructors this works) like this, but I was mistaken. I even forgot how this is called. ((Component)this)->func();
doesnt work either, so I'm lost.
int Label::func() : Component::func() {
}
How is it done correctly?
Thanks in advance!