Multiple Inheritance Deep Dive | C++ Tutorial

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Really hard to find good ressources on diamond inheritance, this is pure gold ! Thanks a lot !

romainmorel
Автор

Glad I found this video, it answered literally every single question I had regarding multiple inheritance. Thanks for the video.

dominiorrr
Автор

Reviewing for an interview because I’m a Java coder. And ran into this video. Love it. Straight to the point. Clear and understandable

dannggg
Автор

Thanks man for this video! Very clear and easy to understand, keep doing!

MrIgorek
Автор

Simple, and to the point, hard to find these kind of resources on yt

hamdansiddiqui
Автор

Wow, Great job. Thanks for this quality learning material.

amaama
Автор

So for the case of NURBS, the inheritance ladder goes Bézier (the (two peer classes)/NURBS (inheriting from both Non-uniform and Rational).

TheRojo
Автор

I think that having a full-screen view, which would allow us to see all the code at once, might be better. Scrolling make it not easy to follow

ertemeren
Автор

That was what I was exactly searching for thanks

eh
Автор

So in default constructor of BaseClass1, if we inialize a value member of BaseClass1, it will not be initialized when derived class object is made? Because Common base class constructor is called?

harishkuppam
Автор

@3:14 Incorrect. function1() isn't overridden *at all* because neither base classes declare function1() as virtual. The static type of "derived'" is DerivedClass so at runtime DerivedClass::function1() is called. If it *was* overridden (which it is not) then, given this code:
DerivedClass dc1;
BaseClass2 *bc2ptr = &dc1;
bc2ptr ->function1(); // This line would print "Function1 DerivedClass"
But instead it prints out "Function1 BaseClass2".

IsaacC