#include class Car{ public: std::string make; std::string model; int year; std::string color; void accelerate(){ std::cout
@edvardsauzins7041 Жыл бұрын
And then Rick realized he's a c++ object and escaped the matrix 😂
@ASTROLOMEGAАй бұрын
Haahahhaah funny
@fotenks Жыл бұрын
You are a very very good teacher and I hope your C++ vids get way more views and praise
@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!!!! 👍👍👍
@Test-m3i8dАй бұрын
Perfect explanation and also nice, clear voice - easy to understand for a not-english-man like me. Thanks a lot!!!😀
@FrederikWollert9 ай бұрын
Awesome. I really liked that you made 2 examples.
@higiniofuentes2551 Жыл бұрын
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
@Benjamin-cx6xb2 ай бұрын
Real Bro right there. Thanks Rick!
@unruly_ronin2 ай бұрын
Smooth and to the point as usual. Common Bro Code W
@joestarjoestar10202 ай бұрын
WWWWWWW
@majorbangz7 ай бұрын
THE LEGEND IS BACK!!!!!!!!!
@siddhitasethmadan63885 ай бұрын
By default the members in structures are public. But in classes by default members are private.
@pythonuser-f7t21 күн бұрын
i just learnt that in arduino(C++ for a microcontreller) code, if you include servo.h, you can create an object caled servo from the class Servo
@dandandan36752 жыл бұрын
I hope you can make oop playlist in c++
@AsvinThakur3912 ай бұрын
Hey Brocade , just wanted to notify you a error not actually so it's error in age where compiler instead of giving the age of human1.age just compiles in the form of F after compilation and I searched it on the the internet and found out that it's a Floating value so solution is just add when writing code "Human1.age="70"; " then the compiler will give 70 while compiling which is what we want !
@carmi-u3j2 ай бұрын
earnd my sub!
@lightdrago6824Ай бұрын
"humans sleep right?"
@higiniofuentes2551 Жыл бұрын
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!
@serein_11Ай бұрын
smooth Rick and Morty reference
@NathanEllery5 күн бұрын
I assume you wouldn't actually code attributes into the program because practically they would be entered by a user or read from a data base?
@NoziexGG2 күн бұрын
Yes you are correct, however you will still declare the attributes but you will not assign it a value.
@Dazza_Doo2 жыл бұрын
I see Constructors are coming in the next lesson 😋
@cyrussacay390311 ай бұрын
Need help, still confused, is it like struct but with functions?
@Dazza_Doo2 жыл бұрын
looks like you don't have to New Up an object - is C# is making me code MORE than C++ (Egregious)
@nitrobeast66295 ай бұрын
what's the difference from classes and structs
@siddhitasethmadan63885 ай бұрын
By default the members in structures are public. But in classes by default members are private.
@tahawaseem69892 ай бұрын
Structures can only have member variables where as class can also have member functions that an object can perform along with its member variables(attributes)
@siddhitasethmadan63882 ай бұрын
@@tahawaseem6989 even structures can have member functions
@МихаилПетров-ж2о2 жыл бұрын
With you OOP is easy
@acdc733129 күн бұрын
what about the private modifier?
@HussamAljaarАй бұрын
class person{ public: string name; int length ; int birth_year; void study() { cout
@12Jerbs4 ай бұрын
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?
@ujeshasivaramakrishnan2464Ай бұрын
did you make the variables public?
@feedertayfa87458 күн бұрын
when ı saw structs ı tougth it will be our objects. Structs can not be objects because ıt does not have any method if ı am right.
@theorange646011 ай бұрын
#include class Human{ public: std::string name; int age; bool isInjured; void eat(){ std::cout
@bakeronews17 ай бұрын
Rick & Morty fan 😂😂😂
@fracciuolo3 ай бұрын
RICK AND MORTY MENTIONED!!????? WHAT IS A PROPER EPISODE!!??!?
@shricharanramesh71496 ай бұрын
Comment no 24
@james.smith7635 күн бұрын
Should've made it a woman object instead of a human object
@Vincent45678 Жыл бұрын
#include using namespace std; class school { public: //access specifier int roll; string name; char sec; void teach() { cout
@danaildoganov10 ай бұрын
#include class Dog{ public: std::string name; std::string breed; int age; void bark(){ std::cout