C++ Tutorial 20: Inheritance Basics @WhatsACreel
C++ Tutorial 20: Inheritance Basics  @WhatsACreel
Uploaded March 2014 | Updated September 2026, 2 weeks ago
In this tute we'll cover the basics of inheritance. We'll look at the syntax to inherit one class from another and the general idea of inheritance. Inheritance is a large and fascinating topic and this tute is just an ice breaker.

We create a blueprint class, the parent, which contains generic information. Then we create more specific child (or derived) classes from this parent class. In this way, we don't need to retype any of the parent class's code.

Don't get confused over this information, basic inheritance is nothing more than a clever way to save a little typing. Polymorphism (which we'll look at shortly) is just a way to save a lot of typing!
C++ Tutorial 20: Inheritance BasicsModern x64 Assembly 1: Beginning Assembly ProgrammingWeird Trick with Adjacency MatricesHow to Convert Decimals to Binary and Binary to Decimal NumbersImplementing a SemaphoreCUDA Tutorial 11: Thrust Library IntroC++ Tutorial 21: PolymorphismSet Associative Caches 2: AMD vs Intel Cache CommentaryAgner Fogs VCL 2: Performance Programming using Vector Class LibraryWhy is Radix Sort so Fast? Part 2 Radix SortC++ 11 Lambda FunctionsNVIDIA CUDA Tutorial 8: Intro to Shared Memory
Creel |

C++ Tutorial 20: Inheritance Basics

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER