Re:Basics Of Function Pointers In C
by nemetroid on Thursday August 01, 2013 @08:45AM
(#6139834)
Inheritance can be implemented as well:
Since `super` is the first member in the struct, a pointer to an AdvancedFoo can be used as a pointer to BaseFoo as well:
Of course, this inheritance pattern can continue in multiple steps.
[ Parent
| on HN ]
There are no comments on this comment yet.