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

  Рет қаралды 45,756

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

Пікірлер: 32
@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 Жыл бұрын
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 8 ай бұрын
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 5 ай бұрын
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 11 ай бұрын
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 7 ай бұрын
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 Жыл бұрын
thank you so much brother your videos are awesome.
@andriskaminskis9349
@andriskaminskis9349 10 ай бұрын
Hi Caleb, great video! What is the color theme you are using?
@user-yk2dc6yr7q
@user-yk2dc6yr7q 10 ай бұрын
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?
@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
@MujahidTeha
@MujahidTeha 3 ай бұрын
How can I download your video
@MujahidTeha
@MujahidTeha 3 ай бұрын
it asked me some criteria to download pls 🙏 help me
@bunzguy6448
@bunzguy6448 11 ай бұрын
i started the video knowing nothing about OOP, ended it knowing how to do exactly what i want to use it for.
@menachemlevi
@menachemlevi 5 ай бұрын
best oop ever
@tomryder4070
@tomryder4070 Жыл бұрын
XD ok nice back
@tomryder4070
@tomryder4070 Жыл бұрын
nn
@vdc1499
@vdc1499 10 ай бұрын
why dont you use "using namespace std;" at the top of the code? so you dont keep writting "std::" ?
@oxioxp
@oxioxp 8 ай бұрын
using namespace std; is considered a bad practice, avoid it
@vdc1499
@vdc1499 8 ай бұрын
Why? makes your code easy to read @@oxioxp
@thatsnotmlg8512
@thatsnotmlg8512 5 ай бұрын
​@@oxioxp I still and will never understand why this reduces code readability it does the exact opposite and will always do
@user-bu2tq5yh8f
@user-bu2tq5yh8f 4 ай бұрын
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.
@TheOneAndOnlyViking
@TheOneAndOnlyViking 5 ай бұрын
and i OOP
@manuelgonzales6483
@manuelgonzales6483 Жыл бұрын
🎉❤😮
@thinkmore8024
@thinkmore8024 Жыл бұрын
OOP ew.
Object Oriented Programming (OOP) in C++ Course
1:30:26
freeCodeCamp.org
Рет қаралды 2,5 МЛН
References in C++ Explained
15:03
Caleb Curry
Рет қаралды 98 М.
Comfortable 🤣 #comedy #funny
00:34
Micky Makeover
Рет қаралды 11 МЛН
Smart Sigma Kid #funny #sigma #memes
00:26
CRAZY GREAPA
Рет қаралды 8 МЛН
Useful gadget for styling hair 🤩💖 #gadgets #hairstyle
00:20
FLIP FLOP Hacks
Рет қаралды 11 МЛН
Learning C++? Avoid these Beginner Mistakes...
13:47
Caleb Curry
Рет қаралды 6 М.
Smart Pointers in C++ (Stop Using new?)
17:18
Caleb Curry
Рет қаралды 11 М.
Object Oriented Programming (OOP) in Python
46:37
Traversy Media
Рет қаралды 279 М.
Mastering Memory: Allocation Techniques in C, C++, and ARM Assembly
17:05
Object Oriented Programming - The Four Pillars of OOP
11:23
Keep On Coding
Рет қаралды 325 М.
Fundamental Concepts of Object Oriented Programming
9:16
Computer Science
Рет қаралды 878 М.
C++ Tutorial : C++ Full Course
2:22:52
Derek Banas
Рет қаралды 323 М.
Class vs Struct | C++ (What's the Difference?)
9:25
Caleb Curry
Рет қаралды 11 М.
Intro to Object Oriented Programming - Crash Course
30:18
freeCodeCamp.org
Рет қаралды 934 М.
Object-oriented Programming in JavaScript: Made Super Simple | Mosh
1:02:49
Programming with Mosh
Рет қаралды 1,9 МЛН
low battery 🪫
0:10
dednahype
Рет қаралды 1,8 МЛН
Мой новый мега монитор!🤯
1:00
Корнеич
Рет қаралды 3,3 МЛН
Ba Travel Smart Phone Charger
0:42
Tech Official
Рет қаралды 1,2 МЛН
Что делать если в телефон попала вода?
0:17
Лена Тропоцел
Рет қаралды 3,5 МЛН
Yanlışlıkla Telefonumu Parçaladım!😱
0:18
Safak Novruz
Рет қаралды 2,6 МЛН
Сколько реально стоит ПК Величайшего?
0:37