Avoid slicing! Do C++ Inheritance Right
Channel:
Subscribers:
2,640
Published on ● Video Link: https://www.youtube.com/watch?v=2hItjALIQbE
1. All parent methods are virtual; all child methods that override are override
2. Inheritance only works right with references and pointers
Other Videos By Bill Kerney
2023-03-06 | Big-O Analysis |
2023-03-06 | Fallacies Part III (Non Seq, Strawman, Ad Hom, Tu Quoque, Ignorance) |
2023-03-03 | Corporate Censorship: The Lab Leak Hypothesis and The Twitter Files |
2023-03-03 | Trust Your Gut |
2023-03-01 | C++ Templates |
2023-03-01 | Encouraging Words: Computer Science is a Social Endeavor |
2023-03-01 | Set Theory |
2023-02-27 | C++ Stacks and Queues |
2023-02-27 | Fallacies Part 2 |
2023-02-24 | Midterm I Review |
2023-02-22 | Avoid slicing! Do C++ Inheritance Right |
2023-02-22 | Fallacies (Part I) |
2023-02-17 | Events in Scratch; Cryptography and Privacy (Version 1) |
2023-02-15 | Critical Thinking: Framing |
2023-02-15 | C++ Circular Linked Lists and Inheritance |
2023-02-13 | C++ Linked Lists Part II |
2023-02-13 | Virtue Ethics, Natural Rights Theory, Cancel Culture |
2023-02-10 | C++ Linked Lists (Part I) |
2023-02-10 | Ethics and Computer Science |
2023-02-08 | C++ Unordered Maps (Hashu Mappu!!!) |
2023-02-08 | Logical Implications |