Difference between revisions of "Intermediate C++ Game Programming Tutorial 18"
From Chilipedia
(Created page with "This two-part lesson teaches the basics of inheritance, how it works and what motivates its use, with ample concrete coding examples. Also taught here is the keyword <code>mut...") |
(No difference)
|
Revision as of 20:56, 3 December 2017
This two-part lesson teaches the basics of inheritance, how it works and what motivates its use, with ample concrete coding examples. Also taught here is the keyword mutable
, for some reason.
Topics Covered
Part 1
- How to create a virtual function
- Using the override keyword
- Creating a pure virtual function
- Using a container of pointers to manage a heterogeneous collection of objects
- virtual destructors