From 5ff7b263d1653fe8118f2324623243bf2f0953aa Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Mon, 4 Dec 2023 01:56:51 -0500 Subject: [PATCH] adding links to the two multiple inheritance examples --- lectures/26_inheritance/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/lectures/26_inheritance/README.md b/lectures/26_inheritance/README.md index 56e04d9..8f7ba05 100644 --- a/lectures/26_inheritance/README.md +++ b/lectures/26_inheritance/README.md @@ -184,6 +184,7 @@ member functions should be in each class? - When sketching a class hierarchy for geometric objects, you may have wanted to specify relationships that were more complex... in particular some objects may wish to inherit from more than one base class. - This is called multiple inheritance and can make many implementation details significantly more hairy. Different programming languages offer different variations of multiple inheritance. +- See [example 1](multiple_inheritance1.cpp) and [example 2](multiple_inheritance2.cpp). ## 26.11 Introduction to Polymorphism