C++ Object Oriented Programming Crash Course - Introduction + Full Tutorial

  Рет қаралды 37,972

Caleb Curry

Caleb Curry

Күн бұрын

Start your software dev career - calcur.tech/dev-fundamentals Be notified of new C/C++ course: calcur.tech/c-cpp-newsletter
Graphic tees - calcur.tech/intotheam - use code "Caleb"!
💯 FREE Courses (100+ hours) - calcur.tech/all-in-ones
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
⚛️ FREE React Course (20 hours) - calcur.tech/free-react-course
✅ Data Structures & Algorithms - calcur.tech/dsa-youtube
~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~
✉️ Newsletter - calcur.tech/newsletter
📸 Instagram - / calebcurry
🐦 Twitter - / calebcurry
🔗 LinkedIn - / calebcurry
▶️ Subscribe - calcur.tech/subscribe
👨🏻‍🎓 Courses - www.codebreakthrough.com
~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~
↪ My Amazon Store - www.amazon.com/shop/calebcurry
🅿 Patreon - calcur.tech/patreon-calebcurry
🅖 GitHub Sponsors - github.com/sponsors/CalebCurry
Ⓟ Paypal - paypal.me/calcur

Пікірлер: 33
@codebreakthrough
@codebreakthrough Жыл бұрын
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: kzbin.info/www/bejne/iparnZmCm56pZ80 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
@desiredditor
@desiredditor Жыл бұрын
file handling and also c++ in windows application
@tomryder4070
@tomryder4070 Жыл бұрын
Awesome! Thank you very much!
@flywittzbeats4008
@flywittzbeats4008 10 ай бұрын
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❤
@vojtechblazek4712
@vojtechblazek4712 5 ай бұрын
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.
@TinySpaceCowboy
@TinySpaceCowboy 2 ай бұрын
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!
@yessicadanielahernandez6348
@yessicadanielahernandez6348 8 ай бұрын
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 !.
@flirtie
@flirtie Жыл бұрын
Best video to revuse old knowledge or to start thinking and gettung into object oriented. Great work dudee🤜🤜
@Atomic-Potato
@Atomic-Potato 5 ай бұрын
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++
@muhammadluqman3452
@muhammadluqman3452 10 ай бұрын
thank you so much brother your videos are awesome.
@user-yk2dc6yr7q
@user-yk2dc6yr7q 8 ай бұрын
8:00 14:15 17:08 22:00 // Left off on learning about "Overrides"
@QuimChaos
@QuimChaos Жыл бұрын
As a default constructor can we use Person(){}; or is it bad form?
@andriskaminskis9349
@andriskaminskis9349 8 ай бұрын
Hi Caleb, great video! What is the color theme you are using?
@danny12345
@danny12345 Жыл бұрын
Thank you It will be interesting if you learn c++ on Arduino
@furkankaraslan9040
@furkankaraslan9040 Жыл бұрын
Hi i was going to ask a seperated content of question; I"ve got a semeteur project and we are required to create a project that used both c/c++ and shell script.Could you explain how does these seperated kind of files get to be compiled and be a single execute file?(i know the compiling process but im asking how do we compile and make work togeter different languages probably im asking a real basic question) but hope you can answer it have a nice day!
@ScorpioHR
@ScorpioHR Жыл бұрын
C is a subset of c++ and you can compile c code and c++ code and link it together. But the shell script needs an interpreter. In order for all of it to be compiled together, you'd have to use some kind of OS API, call it from c/c++ code and give it the shell script so it can interpret it and run it. Shell script cannot be "compiled" because it's not a set of instructions for the CPU, it's a set of instructions of some other software on top of it (like bash for Linux or command/CMD in Windows). I think it was a trick question.
@furkankaraslan9040
@furkankaraslan9040 Жыл бұрын
@@ScorpioHR So what i understood from your reply is that "c/c++" langs can call bash terminal to execute .sh files and that's the only way to do this also saw OS API stuff but i know OS as operaating system and API as application programming interface ill search it ofc but i guess its something making us able to use system calls onby an appliaction, i also am so appreicated for your time to reply here thanks!
@ScorpioHR
@ScorpioHR Жыл бұрын
​@@furkankaraslan9040 Yeah, I was trying to be inclusive in my reply and not to focus on single operating system (OS). But yes, if you want to execute bash .sh script programmatically, you'll need interpreter for it. The simplest way to do it is to use interpreter of operating system. In order to tell interpreter to run a bash file is to use API - interface provided by the OS. Here's an example of how to load script from variable, save it to a file and invoke the file using OS function (std::system) #include #include #include #include int main() { // Shell script stored as a string variable std::string script = "#!/bin/bash echo 'Hello, world!'"; // Create a temporary file std::ofstream outfile("/tmp/script.sh"); outfile
@frfgamesyoutube1058
@frfgamesyoutube1058 8 ай бұрын
thank you for your great crash course video now I can use oop in c++ without going insane (^o^)
@MujahidTeha
@MujahidTeha 24 күн бұрын
How can I download your video
@MujahidTeha
@MujahidTeha 24 күн бұрын
it asked me some criteria to download pls 🙏 help me
@bunzguy6448
@bunzguy6448 9 ай бұрын
i started the video knowing nothing about OOP, ended it knowing how to do exactly what i want to use it for.
@menachemlevi
@menachemlevi 3 ай бұрын
best oop ever
@toshiLu
@toshiLu 8 ай бұрын
why dont you use "using namespace std;" at the top of the code? so you dont keep writting "std::" ?
@ordinaryguyx
@ordinaryguyx 6 ай бұрын
using namespace std; is considered a bad practice, avoid it
@toshiLu
@toshiLu 6 ай бұрын
Why? makes your code easy to read @@ordinaryguyx
@thatsnotmlg8512
@thatsnotmlg8512 2 ай бұрын
​@@ordinaryguyx I still and will never understand why this reduces code readability it does the exact opposite and will always do
@user-bu2tq5yh8f
@user-bu2tq5yh8f Ай бұрын
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.
@AetherSerenity
@AetherSerenity 3 ай бұрын
and i OOP
@tomryder4070
@tomryder4070 Жыл бұрын
XD ok nice back
@tomryder4070
@tomryder4070 Жыл бұрын
nn
@manuelgonzales6483
@manuelgonzales6483 Жыл бұрын
🎉❤😮
@thinkmore8024
@thinkmore8024 Жыл бұрын
OOP ew.
Learning C++? Avoid these Beginner Mistakes...
13:47
Caleb Curry
Рет қаралды 5 М.
Object Oriented Programming (OOP) in C++ Course
1:30:26
freeCodeCamp.org
Рет қаралды 2,4 МЛН
Super sport🤯
00:15
Lexa_Merin
Рет қаралды 20 МЛН
1🥺🎉 #thankyou
00:29
はじめしゃちょー(hajime)
Рет қаралды 75 МЛН
100😭🎉 #thankyou
00:28
はじめしゃちょー(hajime)
Рет қаралды 27 МЛН
Object Oriented Programming - The Four Pillars of OOP
11:23
Keep On Coding
Рет қаралды 310 М.
Intro to Object Oriented Programming - Crash Course
30:18
freeCodeCamp.org
Рет қаралды 909 М.
Python Object Oriented Programming (OOP) - For Beginners
53:06
Tech With Tim
Рет қаралды 3,3 МЛН
Fundamental Concepts of Object Oriented Programming
9:16
Computer Science
Рет қаралды 840 М.
Bjarne Stroustrup: C++ | Lex Fridman Podcast #48
1:47:13
Lex Fridman
Рет қаралды 1 МЛН
15 Years Writing C++ - Advice for new programmers
4:04
SyncMain
Рет қаралды 1 МЛН
5 Mindblowing AI Video & Lipsync Tools Just Dropped!
13:04
Theoretically Media
Рет қаралды 8 М.
Every single feature of C# in 10 minutes
9:50
Train To Code
Рет қаралды 82 М.
Make Beautiful Desktop Applications in C++
25:51
The Cherno
Рет қаралды 496 М.
#miniphone
0:18
Miniphone
Рет қаралды 11 МЛН
👎Главный МИНУС планшета Apple🍏
0:29
Demin's Lounge
Рет қаралды 489 М.
POCO F6 PRO - ЛУЧШИЙ POCO НА ДАННЫЙ МОМЕНТ!
18:51