can someone clarify what base class pointers are for me. I know what Inheritence is and how abstract base classes work with derived classes, but i'm a little lost on base class pointers. I don't know why i'm not getting it.
what i'm trying to do is have one class contain base class pointers to each derived class ( of another base class ) ... and at this point i'm just confused and i'm not sure how to go about it.
I looked around on the internet and didn't really find anything that helped. I can put up with the overly technical explanations, but i didn't even find any of those. If anyone can either give me a link to a tutorial or just explain it here i would greatly appreciate it.
what i'm trying to do is have one class contain base class pointers to each derived class ( of another base class ) ... and at this point i'm just confused and i'm not sure how to go about it.
I looked around on the internet and didn't really find anything that helped. I can put up with the overly technical explanations, but i didn't even find any of those. If anyone can either give me a link to a tutorial or just explain it here i would greatly appreciate it.
Comment