المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Question about classes in C++



C++ Programming
04-01-2009, 01:00 PM
Hi guys,

I have 2 classes:
class A{
virtual void Paint() {...}
}

class B: public A{
virtual void Paint() {...}
}

Is it possible and what I have to do, so in B.Paint to invoke A.Paint and then some other code