Object Oriented Programming (OOP) in C++ Course
Vložit
- čas přidán 17. 05. 2024
- Object Oriented Programming (OOP) is commonly used when writing code with C++. In this crash course, you will learn what OOP is and how to implement it using C++.
This course was developed by Saldina Nurak (CodeBeauty). Check out her channel: / codebeauty
⭐️ Course Contents ⭐️
⌨️ (0:00:00) Introduction
⌨️ (0:00:54) Introduction to OOP
⌨️ (0:03:17) Classes and objects
⌨️ (0:10:40) Access modifiers
⌨️ (0:17:26) Constructors
⌨️ (0:29:39) Encapsulation
⌨️ (0:39:50) Abstraction
⌨️ (0:52:23) Inheritance
⌨️ (1:15:43) Polymorphism
⌨️ (1:28:26) Outro
⌨️ (1:29:01) Bloopers
--
Learn to code for free and get a developer job: www.freecodecamp.org
Read hundreds of articles on programming: freecodecamp.org/news
Contributing to the IT community, software developers in particular is my big passion and one of my main goals.
Ty Beau for letting me reach out to all these lovely enthusiasts and helping me to come a bit closer to achieving that goal. 🤞💗
And to all of you watching this video, I hope you will find it useful, it would make me very happy!
For any questions and comments, you know where to find me. Much love from CodeBeauty! 💗💗
Where can I email u a few questions pliz
Nice seeing you here^^
Saw your videos on Brad's channel 👍
I'm glad you're here at freeCodeCamp!!!
🥰Thank you for contributing
You just cant realize how oportune your explanation is hahaha thanks! (btw new sub)
A whole semester in 1.5 hours. Thank you so much for this video
braah, i feel like the teacher in my university try to explain the concepts in the hardest way possible, or i am just dumb, idk
hey was the subject OOPS? like in madhya pradesh maybe
This video is better than 99% of stuff out there. Very clear instructions and to the point.
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
Could you help me understand the point of the Abstract class and what it does and why we make the function equal to 0, because without it the AskForPromotion Function inside the Employee class works the same, uhhhh 50:00 would be a good spot to review ig thank you!
@@unitornsreal
class is a blueprint right? so abstract class is like a blueprint of a blueprint or simply abstract class is a blueprint of default class and virtual function in abstract class have 0 means the child or subclass inherit for that abstract class need to implement that function because if you do not you'll get an error (virtual function without 0 it means that the function has a default implementation in the abstract class like;
virtual void makeSound() {
cout
@@unitornsreal Abstract class in C++ has at least one or more unimplemented functions which they call pure virtual function. The reason why it is set to 0 is to indicate it is a function that needs implementation for you to use that class. Hence you cannot create an object of abstract class instead it is inherited into another class where the pure virtual function must be implemented.
The reason why it is used is to achieve polymorphism meaning it has many forms. Think of an example where you have a function called shape now you could have many different types of shapes so you keep the method shape() abstract so that the class implementing the abstract class can define what shape it intends to make or display.
"As you can see we have an error, but it's a different error. Which means we're making progress!"
This sums up everything I'm doing in college and in life 🤣❤
Damned spoilers!
My life, except for the progress bit!
lmfao I salute your honesty!
time stamp?
i-> virtual void AskForPromotion()=0; (I don't understand why it's =0 ). Please help me anyone
I'm 14 minutes deep and you've already taught me more than my teacher in the whole semester, thanks!
@Piyush Sharma what...
@@assyriankidtv5934 I've seen the exact comment on another FreeCodeCamp video. Dude just copied and pasted.
Haha true
True... most colleges have a introductory OOP class. And they spend a whole semester to cover the topics which are all included in this just 90mins video.
That sounds bit exaggeration.
I have just finished Saldina's course on her CZcams channel. I started from the basics and then progressed to functions, data structures, pointers, and OOP. Now, I am revising OOP and I believe that after I finish watching this course, I will follow my own path. I think it's a good time to start learning and creating something by myself, using documentation and other resources. Thank you, Saldina, for everything. It's time for me to become a more mature coder.
Hey! I need help with my final project for my C++ Programming I course ASAP before midnight. I've done bank hacking transactions code for a mock simulation for class but my code won't run and it has to run. Can I send you my code so you can review and help me along with it?
One semester in one video, AMAZING! Good work, thank you!
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
I love how there are no unnecessary comments or random transitions/animations used in your video. Your video is simple, you present your ideas straight to the point. Just what I needed to refresh my memory on OOP C++. Thank you so much.
i-> virtual void AskForPromotion()=0; (I don't understand why it's =0 ). Please help me anyone
@@madanmohan5661 it means that developer and teacher MUST also have a askForPromotion() function. if it doesnt, e.g. teacher doesnt have it, code wont run. known as abstract class.
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
As a non-native english speaker I really apreciate your accent, is so easy to understand. And your didatics is awesome!
Same! Subtitles are not even necessary.
Ja its pretty clean and understandable, I would just appreciate the use of articles. But I understand, this is not easy if your native language doesn't have any. It's the same with genderless languages, my gf always mixes up he and she and this can be confusing as hell.
I thought i was the only one. Definitely her accent is really easy to understand.
Same, mano.
Ironically, probably because she doesn't have a typical English accent.
without you i would be failing my c++ class, and im not exaggerating. you explain so clearly and i enjoy the demonstrations. i like to code along with you to understand the concepts. thank you for these free videos!!
Could you help me understand the point of the Abstract class and what it does and why we make the function equal to 0, because without it the AskForPromotion Function inside the Employee class works the same, uhhhh 50:00 would be a good spot to review ig thank you!
Hi beautiful Saldina! I'm a Java italian programmer since decades; I studied and used Ansi C 99 in my past but I always got a gap (or a hole in my brain) about C++; many thanks to your quick and direct tutorial now I can connect lot of dots that I never knew; Java is clearly a huge help to understand your lesson, since the OOP rules are the same and the implementation quite similar. GRAZIE e CIAO! 🙂
That's a really good video for an introduction to OOP concepts in C++.
A few things you could have added (but maybe it was out of the scope of this video) were static members, const members, override, inline, final and friend keywords.
Another video on these "advanced" concept might be relevant ?
Anyway, big shoutout to the huge efforts you put in these videos, it shows in their quality. My only hope is that you sleep enough. I don't know how you manage the time for these videos in addition to your job
mdr frérot je m'attendais pas à te voir ici juste avant mes exams XD
Yea bro appreciated...
pareil mdrr
i-> virtual void AskForPromotion()=0; (I don't understand why it's =0 ). Please help me anyone
I wish you do part 2 of this video
Nice audio, nice font size, nice flow of topic, nice speed, clearly explained. Stamped as quality! 👍 🙂
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
one of the most amazing videos for oops with a clear and to the point explanation!!!! Loved the effort
I just want to say thank you. Thank you for making coding simple. For somebody that has been in the study of this field for years I am learning so much and actually excited about learning to code for the first time in a while. I dislike online schooling for the simple fact that words are only as useful as the way you interpret them. And your style of teaching is simplified, useful and can be interpreted by any listener.
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
I have been studying all kinds of complex subjects for decades with some extremely gifted teachers at times; still, this is one of the best classes I've ever seen.
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
Thank you for explaining how Inheritance works. In our class, we use headers and implementation files, but this works the same and it helps make more sense.
You have a wonderful way of breaking down complexity into simpler concepts. Thank you for this video!
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
U taught me more than I could learn for the whole semester and helped me with one of the most struggling themes of C++
Svaka čast , super objašnjeno , a oblast je vrlo zahtjevna za razumjeti .
i was literally started studying OOP in c++ wow , so nice thanks!
My C++ college course was so insufferable that I thought I'd never like C++ but you explain it so well and uncomplicated that woke my interest in this language and I may continue learning it. Thank you so much!
Could you help me understand the point of the Abstract class and what it does and why we make the function equal to 0, because without it the AskForPromotion Function inside the Employee class works the same, uhhhh 50:00 would be a good spot to review ig thank you!
Very well done, thank you Saldina! Your presentation of the fundamental concepts was simple and effective! Appreciate you and your passion to share!
I loved bloopers as much as the outstanding refresher course. Thank you.
Thank you Saldina for explaining Getters\ Setters ! Especially so simply, I appreciate it ! 😊👏
Finished the video without getting exhausted. Man, this was so helpful! Keep up the good work.
This is the most comprehensive C++ OOP course covering all aspects without ambiguity...Thank you so much
Saldina, I have been watching this tutorial for under thirty minutes and you have already helped clarify the majority of the questions that I had prior to watching. Thank you! Please, do not take it the wrong way, but I love you. You are awesome. I have been teaching ESL for over ten years and I am learning to develop in the blockchain and you have made things rather simple for me. I love you so much!
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
nice way to purpose someone ........ plz didn't either take it wrong )d
I really loved your way in explaining oop concepts, it make me understand oop principles very well. also love your hair
Thanks Saldina, you have delivered such amazing explanation for OOP. Hope to see you in more courses like this one ✨🌷
Thank you for this video, I recently taught myself OOP using Python, I am not in the tech field at all, but programming and writing code is damn fun and satisfying. I might change careers in the future, who knows!
Thank you so much, I was trying to learn OOP from books and it was so hard, the way they present the concepts are much too complex and you managed to give me a clear idea of what OOP exactly does and how it is applied in less than 2 hours
i-> virtual void AskForPromotion()=0; (I don't understand why it's =0 ). Please help me anyone
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
Thank you for the short and beautiful tutorial. Appreciate the work put on this video.
I've learnt many things from this course, Thank you for making OOP so easy :).
Day after tomorrow I have C++ exam, I had knowledge about procedural programming language(c) and about classes before watching this video. I swear that I have understood all the concepts explained in this video and I have implemented them in vs code by my own. Found this video very much helpful. Her way of explanation is remarkable. Hats off to you.
Love from India.
how was the exam brother ? did u pass ?
He failed
@@TonyTony-wi8vd lol
What a noob
@@notme-bf7sn Im replying from my alt account. I failed terribly.
Thank You So Much for keeping it so simple!
You've got such a positive and warm aura💗
Wow, as newcomer to c++, and programming, this really got me greatly informed and motivated. So clear and understandable. Thanks Saldina
Thanks a lot for clearing all the complex topics loved the video 😊
It's a great teaching method. Lively, excited, improvised ... I love it.
Super objasnjen OO concept! :)
Awesome explanation!
Saldina thanks a bunch! just subbed to your channel, you make the tutorials so easy to understand like no one else!
I hope you to put out advanced version of this and keeping up the great work!
TYSM again! :)
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
Hey Saldina thanks a ton for this,
I've already subscribed to your channel and thanks for clearing out the concepts of OOP.
Simple and concise tutorial to change someone's thought that C++ is not hard to learn. 👍
It’s not a real code so yeah, it’s simple but try to dive in real project you probably won’t be able to understand what’s going on even if you finished some C++ course. These are primitive themes so it will be easy for the most of the languages.
@@phat80 I guess "real code" is something that you personally can define. That's cool, you must be very importaint if you get to decide what is "real" code and what isn't. What qualifications and experience you must have to be placed in such a position I can only imagine.
@@Megamike144p the real code is the code of a real application. You can take any open source app written in C++ and examine its code. I’ll suggest some open source 3D engine, not one more notepad.
@phat is right you know when you try to do something with c++ it gets really hard these videos are really basic simple stuff, try doing real projects and you see how fast u will start pulling your hair programming and espacially c++ is very hard
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
Such a great tutorial. Complex lessons simplified in a simple way 😀
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
Im 55 .I have been learning coding out of curiosity. I have watch a lot of videos. Yours are, no doubt, among the best, Thanks for what you do.
She explained everything perfectly clear! Best talk I have ever watched.
Loved This waited for long time
The way of explanation is so well that we can easily understand the applications of OOPS in real life problems.
Excellent job.
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
this video is one of the few tutorials I watched from start to finish without skipping or speeding up. Great Work Saldina
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
I don't know how much this video solidified OOP for me. CodeBeauty is amazing for this tutorial! Very straightforward and easy to code along with without getting lost. Thank you, thank you, thank you!
This is a phenomenal refresher for me. I recently graduated with my bachelors and I'm hoping to get my first job here soon which will use C++. This is helping me prepare for upcoming technical interviews. Thanks for making this video and presenting the content clearly.
Did you get a job?
@@thepriestofvaranasi I did! I now work for HP.
@@Emrys_Gough Congratulations!
my Exams are coming soon i was looking for short course for oop, you saved me ty
Got through 1 hour in one sitting...simple&engaging way of teaching, (thumbsup)
The best explanation of OOP nobody could ever receive.
Thank you so much for helping people!
This is perfect for someone that is both an expert OOP Java dev & also an expert C dev (embedded systems). Without any C++ experience I was literally looking to know how C++ differs from Java OOP, and what the variants were from standard C syntax. Awesome!!!
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
Amazing Tutorial. Tomorrow is my exam for OOP and i already studied a lot on it but this single video cleared my many concepts. Thanks Salina and i'm already watching your tutorials.
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
to be honest what i aint learned from my teacher in more than three months, I just learned here in one and a half hour video. You did a great job keep it up!
Cim si progovorila odmah sam prepoznao naglasak, Saldina svaka cast!!
That's why i love this channel... easy to learn difficult topics
Best polymorphism explanation ever!!! The parent reference to a child object, and when you have hundreds of child objects represented by a for-loop, are exactly why polymorphism is invented.
Please, could you tell me how do you do that? It is the only thing that I did not understand from this video ...
This video has taught me more than my current cs prof the whole semester. Thanks!
Hey I was struggling in learning OOPS in cpp and you have explained this beautifully and I loved the way you have taught straight to the point
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
Hi Saldina, I watched the whole video and it was awesome. I understood all the concepts very clearly and I want to thank you for teaching so well to us. Hope to see more such informative videos soon.
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
i normally get bored or distracted while watching programming courses like this, but somehow she was very engaging. it was as good, if not better than a 1 on 1 lesson.
learning cpp from python has been seeming quite difficult but with this lesson it started to feel much easier :)
Yeah I wonder why... lol... Also, scrolling through tiktok can decrease attention spans… Lastly, watching any tutorial is easy but implementing what it covered actually addresses what we’ve learned.
Man What a course! I needed to switch to C++ from python for my job and this man helped me doit without a sweat! Great work buddy
I am very grateful to you CodeBeuty.
In a few minutes you have simplified Object-oriented programming.
You are different from some of other bloggers who complicate concepts to confuse/ show off.
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
Brilliant teacher, thank you very much
Barbara Gordon teaching fundamentals of OOP? Couldn't have asked for more
Simp
King
@@Ihavetoreturnsomevideotapes how is that simping?
@@Ihavetoreturnsomevideotapes A, we found the 15 year old edgelord with no opinions of his own who repeats the latest fashionable terms of his peer group...
@@foljs5858 damn you went harsh on him...he deserved it tho.
Great course, Saldina! I subscribed to your channel, keep rocking, best wishes!
I was very scared of start learning Object Oriented Programming because everyone introduced OOP as the most complicated thing to understand. I'm thankful to you for such a great video without any cost!
Next step: I'm going to start watching CodeBeauty channel 10+ hours c++ programming video. Your explanation is really understandable and easy. Such a great teacher! 🥰 Love & respect from one of your student from Bangladesh! 🇧🇩
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
That smile on your face when you type 15, wow it's awesome
I've watched so far just 30 min from it and this is a very good tutorial .
I am gonna put in Visual Studio every second from this tutorial
Thank you very much !
I hope there are more and will be more on your yt-channel
Edit : wish you the best !
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
Genuinely enjoyed your way of teaching, concepts were very well explained and fun to learn
You are my third try at an OOP tutorial. You win big time. Very concise explanations! Going to watch more of your tutorials.
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
Saldina is an excellent informatic tutor. She teaches very good and clear. Step by step she explains well and in a simple way any kind of informatics arguments, even if they seem difficult to understand. My compliments continue in this way. Thanks a lot, and good luck. Your student in Venice-ITALY.
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
I'm amazed to see how the IT industry helps people to get desired qualifications and new skills and most of it for free.. it's a wonderful community .. huge respect and love
You are amazing! You explain so loud and clear and straight to the point!...
Thank you so much!
Your content is so lovely, easy to understand and concise
Watched this at 2x speed and still understood it. Thanks for the 45 min worth of valuable content!
Thanks to you I was able to talk about OOP during my interview and after they offered me a job!
Congrats
so happy for you!
@@kishirisu1268 what you on about no we didnt know or were taught oop or not at least like that and she is doing a beginners guide mate not a advanced course
@@kishirisu1268 Some concepts like Polymorphism slipped my mind while I was taking advanced classes like Theory of Comp, Algorithms, Operating systems, Capstone, etc... I knew what OOP was and I could give you the 4 pillars but I couldn't give a proper definition if my life depended on it. I guess my comment was a little bit misleading. Knowing OOP alone won't get you a job. I had to demonstrate my worth by talking about recent projects I've made/contributed. That's why it's so important to go out and create projects just for the fun of it!
Omg thank you so much! This video teaches in 1 hour and a half most of what the university teacher took a whole semester! Our teacher also talked about Destructors, friend methods and classes, Overwriting operators (like the +, -, >>, & etc.) and the "this" and "template" keywords, but I'm sure you could teach that in less than an hour.
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
Great video! I am only about 10 hours into the "c++ course beginner to advanced" but I decided to take a little detour with this and I am glad I did. I will certainly need to practice it a bit now and look forward to applying it in my future game development!
Excellent video. Learned more in less time than several other C++/OOP tutorials by other folks! Thank you!!
Hola Saldina,
(I write you in spanish, as I saw a video where you speak really well! 🤗)
Antes que nada, queria agradecerte por tu tiempo y buena voluntad de compartir tus conocimientos. Segundo, muchas gracias tambien por ser tan buena docente (incluso en c++ que no es nada sencillo para explicar). Tercero te cuento que soy Java developer de Argentina pero vivo en Alemania actualmente y quiero moverme a audio programming con C++ y JUCE framework, para postularme en alguna de las companias que se dedican a hacer los DAW (Digital Audio Workstation) como Pro Tools, Ableton, Cubase, Logic, etc.
Quisiera saber en que orden podrias recomendarme algo asi como un "Bootcamp" para estudiar C++ y despues moverme a JUCE. Ya he hecho casi todo lo general de OOP en C++ (excepto Multithreading) para obtener mi primer trabajo como Junior C++ Developer in Audio Programming. I'm a little bit confused and sometimes I feel that I waste my time. Thank you a lot! and never change!
Cheers.😁
Diego.
You can access data from the employee class directly.
You teach more than anyone I can find on the internet.
Thank you, Saldina
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
Hey, this video is excellent for revising OOP concepts. You did a great job
Very well done. You've done in little more than an hour what my teacher refuses to do at all.
We're well below his contempt, it would seem.
I've finally understood why this can be fun and powerful at the same time.
Brilliant explanation with so much clearity in topics like encap poly and inheritance.
Saldina You have some splendid kind of teaching skills. You made me sit for these concepts without feeling any difficulty (y) .
Really helpful.
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
What I like most is when Saldina tries to create humour purposefully and she smiles and then she gets serious again within no time
I'm about to take this course next semester, and I appreciate your effort to explain a somewhat 'scary' concept to me in very simple terms. Having taken a course in python before and not understanding its OOP fundamentals has been pushing me away from learning OOP again for a long time.
Thanks!
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
Everytime I'm thinking of a software engineering topic I'd like to learn a video pops up the same day explaining that very topic.
CZcams understand you more than your parents, i guess.
Lucky you. I've had that streak sometimes in the past
@@curtaincaller totally agreed
When student is ready master appears ...
Finally finished watching, thanks CodeBeauty!
Saldina has always been an easily followed instructor a huge thanks to the efforts
Amazing course, Saldina. It's easy to follow, thanks so much .
Thank you so much! OOP is thrown in at the end of my current C++ class and I could not get it. You have saved my sanity!
Прекрасное урок, по больше бы таких.
Огромное спасибо, успехов в творчестве.
Hey, It was great to learn from you. Thinking that I grasped so much knowledge in only 1 and a half hour is a wonder to me. Thank you, keep up the good work.
animated Box With CSS
czcams.com/video/gBmx3RmThDE/video.html
Thank you for this!!
I attended this class before my job interview and it helped me answer the questions !! Thanks a lot for your wonderful explanation!
I have an interview in 2 days and am watching this video for the same reason