#Objects #Oriented #programming C++ intro to object-oriented programming tutorial example explained
Пікірлер: 28
@BroCodez2 жыл бұрын
#include class Car{ public: std::string make; std::string model; int year; std::string color; void accelerate(){ std::cout
@edvardsauzins70419 ай бұрын
And then Rick realized he's a c++ object and escaped the matrix 😂
@siddhitasethmadan6388Ай бұрын
By default the members in structures are public. But in classes by default members are private.
@marxLz2 жыл бұрын
The lessons (the full course version) just pops up my news feed. I'm not here in this course series yet, but soon I'll get on to these lessons. Just finishing the javascript course. Pure like bro!!!! 👍👍👍
@fs7bjmc Жыл бұрын
#include class Player{ public: std::string name; long double strength;//don't type long long double long double flex;//i think just don't input number below, higher than quintillion digits? std::string object; void Move(){ std::cout
@maazhasan2874 Жыл бұрын
good work man!!!
@FrederikWollert5 ай бұрын
Awesome. I really liked that you made 2 examples.
@nitrobeast6629Ай бұрын
what's the difference from classes and structs
@siddhitasethmadan6388Ай бұрын
By default the members in structures are public. But in classes by default members are private.
@higiniofuentes255111 ай бұрын
You said class is better than structs because they can have methods, well we can create functions with structs too! The difference is only the first have the methods inside? Thank you!
@Fotenks Жыл бұрын
You are a very very good teacher and I hope your C++ vids get way more views and praise
@higiniofuentes255111 ай бұрын
Thank you for this very useful video!
@abishekpathak28182 жыл бұрын
thanks bro this is the best video ever seen in youtube...GOD BLESS U.you are like angle for me..keep uploading bro
@danaildoganov5 ай бұрын
#include class Dog{ public: std::string name; std::string breed; int age; void bark(){ std::cout
@majorbangz3 ай бұрын
THE LEGEND IS BACK!!!!!!!!!
@dandandan3675 Жыл бұрын
I hope you can make oop playlist in c++
@Dazza_Doo Жыл бұрын
looks like you don't have to New Up an object - is C# is making me code MORE than C++ (Egregious)
@12Jerbs20 күн бұрын
I've created the Human class, but when setting human1.name within int main(), name is highlighted red with class "Human" has no member "name". If I run the code though, it runs without error and outputs the name as expected. Any idea how to resolve this in VSCode?
@Dazza_Doo Жыл бұрын
I see Constructors are coming in the next lesson 😋
@МихаилПетров-ж2о Жыл бұрын
With you OOP is easy
@cyrussacay39037 ай бұрын
Need help, still confused, is it like struct but with functions?
@bakeronews13 ай бұрын
Rick & Morty fan 😂😂😂
@shricharanramesh71492 ай бұрын
Comment no 24
@theorange64607 ай бұрын
#include class Human{ public: std::string name; int age; bool isInjured; void eat(){ std::cout
@Vincent4567810 ай бұрын
#include using namespace std; class school { public: //access specifier int roll; string name; char sec; void teach() { cout