Inheritance in C++: Part I

preview_player
Показать описание
This video is an introduction to inheritance, including the 3 kinds of functions that may appear in a base class: non-virtual, virtual, and pure virtual. Concepts appear at:

1:00 public inheritance
1:44 inheritance is a unit of reuse
2:30 Public inheritance means is-a
3:40 Inheritance and initialization lists
4:30 pure virtual functions
5:00 non-virtual functions
5:45 abstract base class
6:00 the 3 kinds of functions
7:10 cannot instantiate an abstract class
10:45 passing parameters to a base class
11:05 Clock chimes 9 AM
12:10 Derived classes won't compile it they don't implement
pure virtual function in base
14:30 review of 3 functions
Рекомендации по теме
Комментарии
Автор

What are you thoughts on the "C++11" included "override" specifier?

frankie