Hey all, I'm starting to use more OOP techniques in my programs (I used the basics at one point then stopped using it so I wouldn't confuse my teacher), but I can't remember a lot of the advanced inheritance techniques.
I've read up on most of it, but it was awhile ago and since I never used it, I never retained it.
Anyways, I'm writing a graphical app in SDL where each object on the screen is it's own class derived from the base class, Object. (Which I think could be made an abstract class or something? I can't remember!). The constructor of the Object class sets the screen on which the object is drawn.
How do I call it when I create derived objects?
Also, if someone could provide a link with a quick tutorial or refresher on inheritance, I'd appreciate it! (I can't remember anything about virtual functions, abstract?, contaiment, etc... and the book I have is very wordy)