What other C++ topics would you like to see? Be notified of new C/C++ course: calcur.tech/c-cpp-newsletter Here's a video on classes vs structs: ua-cam.com/video/TeHlfLf9v1k/v-deo.html Timestamps: 00:00 - Classes and Objects 05:18 - Pillars of OOP 07:01 - Encapsulation 08:07 - Setters (Mutators) 09:51 - Getters (Accessors) 11:11 - Constructors 14:12 - Inheritance 20:46 - Protected 22:01 - Override 24:12 - Polymorphism 27:08 - Static methods
I love how you get into the single most confusing part of oop right in the very beginning. Seriously are such an amazing teacher thank you so much Caleb❤
Thanks for this! I was striggling with getting the hand of object oriented programming, since it felt so different to what I was doing before. Now I feel like I have a general idea about how to approach the topic and learn more.
The first 3 minutes of this video were SO helpful. The simple Person class you created helped me understand how to link the code in the main body to the code in the class with objects. Thank you!
Hey Caleb!! Thanks soo much for your job, you are an amazing teacher!! I would like to ask you if you can explain the differences between Association, Composition and Aggregation in C++. I want to understand when I have to use which ones in what context and also understand clearly the concepts !.
Can your classes inherit multiple classes? Or maybe is there a mixin syntax for creating classes compositionally? I want to serialize my classes into data, is there a way of reflecting on an object of a class and serializing based on the data members?
From my understanding, there are different libraries in Cpp and when you work on a big project with "using namespace std", you can mistake it into another library which can bug your code/ mess up files (or something 😅 , hasn't known yet). But yeah, it was okay to use the std namespace in small projects or just practise exercises so it can help you write more efficiently. To sum up, it depends. If anyone has a better understanding of this pls let me know.
Because it can create name conflicts if you were to define a function that had the same name as a function implemented in std. Std is a big library so you're never sure. The :: operator for selecting a function from a specific namespace allows for better debugging as you know where each function is coming from
I disagree. This content seems to be for someone who already understands functional programming but needs to learn object oriented. If I had to guess, you're not someone who has first mastered a functional language. If you were moving from C to C++, this video would click much better for you.
What other C++ topics would you like to see?
Be notified of new C/C++ course: calcur.tech/c-cpp-newsletter
Here's a video on classes vs structs: ua-cam.com/video/TeHlfLf9v1k/v-deo.html
Timestamps:
00:00 - Classes and Objects
05:18 - Pillars of OOP
07:01 - Encapsulation
08:07 - Setters (Mutators)
09:51 - Getters (Accessors)
11:11 - Constructors
14:12 - Inheritance
20:46 - Protected
22:01 - Override
24:12 - Polymorphism
27:08 - Static methods
file handling and also c++ in windows application
Awesome! Thank you very much!
I love how you get into the single most confusing part of oop right in the very beginning. Seriously are such an amazing teacher thank you so much Caleb❤
Thanks for this! I was striggling with getting the hand of object oriented programming, since it felt so different to what I was doing before. Now I feel like I have a general idea about how to approach the topic and learn more.
The first 3 minutes of this video were SO helpful. The simple Person class you created helped me understand how to link the code in the main body to the code in the class with objects. Thank you!
Best video to revuse old knowledge or to start thinking and gettung into object oriented. Great work dudee🤜🤜
indeed, i used it to transition from c# to c++ as well. I did learn pointers in c++ at my university but never oop in c++
Coming from C# this is in a good speed. Lots of information but well explained. Thanks!
Incredible teaching here, Caleb.
Hey Caleb!! Thanks soo much for your job, you are an amazing teacher!! I would like to ask you if you can explain the differences between Association, Composition and Aggregation in C++. I want to understand when I have to use which ones in what context and also understand clearly the concepts !.
8:00
14:15
17:08
22:00 // Left off on learning about "Overrides"
come back bro you late
sleeping on a 30min vid for a year is crazy
i started the video knowing nothing about OOP, ended it knowing how to do exactly what i want to use it for.
This video simply explained everything I needed to know for my quiz
Can your classes inherit multiple classes? Or maybe is there a mixin syntax for creating classes compositionally?
I want to serialize my classes into data, is there a way of reflecting on an object of a class and serializing based on the data members?
As a default constructor can we use Person(){}; or is it bad form?
Hi Caleb, great video! What is the color theme you are using?
what's the theme that is used in your vs code??
thank you so much brother your videos are awesome.
it asked me some criteria to download pls 🙏 help me
How can I download your video
Thank you
It will be interesting if you learn c++ on Arduino
why dont you use "using namespace std;" at the top of the code? so you dont keep writting "std::" ?
using namespace std; is considered a bad practice, avoid it
Why? makes your code easy to read @@oxioxp
@@oxioxp I still and will never understand why this reduces code readability it does the exact opposite and will always do
From my understanding, there are different libraries in Cpp and when you work on a big project with "using namespace std", you can mistake it into another library which can bug your code/ mess up files (or something 😅 , hasn't known yet). But yeah, it was okay to use the std namespace in small projects or just practise exercises so it can help you write more efficiently. To sum up, it depends. If anyone has a better understanding of this pls let me know.
Because it can create name conflicts if you were to define a function that had the same name as a function implemented in std. Std is a big library so you're never sure. The :: operator for selecting a function from a specific namespace allows for better debugging as you know where each function is coming from
best oop ever
Good l wat more
XD ok nice back
nn
and i OOP
🎉❤😮
Your explanation is really bad, this is not an introduction, this is for someone who already knows oop but wanna get better
I disagree. This content seems to be for someone who already understands functional programming but needs to learn object oriented. If I had to guess, you're not someone who has first mastered a functional language. If you were moving from C to C++, this video would click much better for you.
OOP ew.