Hi all,
Here’s a stupid question from a stupid VC++ beginner which I’m sure has an obvious solution, but not to me.
How do you implement inheritance with VC++? If you had class B, a child class of class A, in ordinary C++ you would just go: class B: public class A, etc. yeah?
In VC6 I’ve created an application with the MFC AppWizard, dialog based, in which I have a class, say CAccount, which I want to extend. As is normal I suppose CAccount’s base class is CDialog. I want to add CCurrentAccount, CSavingsAccount etc, which are child classes of CAccount. Is this possible? I can’t seem to find a way to do it.
Any help would be greatly appreciated.
Here’s a stupid question from a stupid VC++ beginner which I’m sure has an obvious solution, but not to me.
How do you implement inheritance with VC++? If you had class B, a child class of class A, in ordinary C++ you would just go: class B: public class A, etc. yeah?
In VC6 I’ve created an application with the MFC AppWizard, dialog based, in which I have a class, say CAccount, which I want to extend. As is normal I suppose CAccount’s base class is CDialog. I want to add CCurrentAccount, CSavingsAccount etc, which are child classes of CAccount. Is this possible? I can’t seem to find a way to do it.
Any help would be greatly appreciated.