C++ Programming Tutorial 97 - Inheritance And Polymorphism

  Рет қаралды 31,139

Caleb Curry

Caleb Curry

Күн бұрын

Пікірлер: 14
@splendidzr123
@splendidzr123 4 жыл бұрын
Hands up if you watch this right b4 the final..
@bucketzzz.
@bucketzzz. 2 жыл бұрын
yes
@PunmasterSTP
@PunmasterSTP 3 жыл бұрын
"The teachers are going to start teaching and the students are going to start studying." Perhaps in an ideal world...
@harshaljadhav4564
@harshaljadhav4564 3 жыл бұрын
Great video - where can one practice problems for C++ inheritance and polymorphism concepts ?
@tessal435
@tessal435 Жыл бұрын
I appreciate the simplicity of this, thank you!
@maxim25o2
@maxim25o2 3 жыл бұрын
rather saying child and parent, more acurate meaning is using #include .... because base class You include in to new class, and You have access to all components as it is made by You. Each new obiect are copying code to him self, difference is only to us, that we have nicer grouped functions.
@southhippysa3054
@southhippysa3054 2 жыл бұрын
You still use Rad Studio? I’m planning on developing an application so your insight would be helpful.
@d4m4s74
@d4m4s74 4 жыл бұрын
I just tested it. Do you have to remake custom constructors? (for example copy user(std::string first_name, std::string last_name) to teacher(std::string first_name, std::string last_name) or is there another trick to it?
@PunmasterSTP
@PunmasterSTP 3 жыл бұрын
I think he'll get to it in the next, final videos. It's been a long road, and I'm kind of sad that it is at an end (at least for C++).
@MadhuMitha-vu4tu
@MadhuMitha-vu4tu 4 жыл бұрын
Super explaination 😍😍😍😍😍😍
@zamadahmad
@zamadahmad 3 жыл бұрын
Love your C++ i am following full series of C++ programming
@maxim25o2
@maxim25o2 3 жыл бұрын
About the isomorphism, I have long time to understand what that means, and I notice that polymorphic is related to pointers, compiler somehow knows that trick and creating pointer USER and assigning to it TEACHER compiler knows that he need exclude from object Teacher address of User. That address is unique because it is in side of object of Teacher. That's why we can have many pointers of User which are related to differed child classes like Teacher or Student. Otherwise there was no sense for me creating return type of pointer of user and assigning to it teacher, because teacher is different returning type. But because of inheritance, there compiler knows which type of object assign to pointer.
@PunmasterSTP
@PunmasterSTP 3 жыл бұрын
I read both of your comments on this video, and I'm sorry but I'm not quite sure I understand what you are trying to say. I'm not sure how the #include preprocessor directive is directly related to class inheritance, or how polymorphism is directly related to pointers. I'm interested to learn more about your observations; could you clarify things a bit?
@xiaonaiheme
@xiaonaiheme 2 жыл бұрын
Great video
C++ Programming Tutorial 99 - Polymorphism
7:21
Caleb Curry
Рет қаралды 32 М.
Turn Off the Vacum And Sit Back and Laugh 🤣
00:34
SKITSFUL
Рет қаралды 9 МЛН
Муж внезапно вернулся домой @Oscar_elteacher
00:43
История одного вокалиста
Рет қаралды 7 МЛН
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 61 МЛН
C++ Programming Tutorial 50 - Intro to Vectors
7:08
Caleb Curry
Рет қаралды 91 М.
C++ Tutorial 11 : Polymorphism
18:48
Derek Banas
Рет қаралды 76 М.
The Only Time You Should Use Polymorphism
13:55
Christopher Okhravi
Рет қаралды 94 М.
C++ Pointers - Finally Understand Pointers
15:56
Caleb Curry
Рет қаралды 218 М.
Inheritance in C++
8:00
The Cherno
Рет қаралды 398 М.
Introduction To Inheritance | C++ Tutorial
9:38
Portfolio Courses
Рет қаралды 24 М.
Practical Polymorphism C++
41:44
javidx9
Рет қаралды 126 М.
C++ Programming Tutorial 93 - Operator Overloading == and +
8:00
Dynamic Binding (Polymorphism) With The Virtual Keyword | C++ Tutorial
9:57
Turn Off the Vacum And Sit Back and Laugh 🤣
00:34
SKITSFUL
Рет қаралды 9 МЛН