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!!!! 👍👍👍
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 !
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!
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?
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)
#include
class Car{
public:
std::string make;
std::string model;
int year;
std::string color;
void accelerate(){
std::cout
And then Rick realized he's a c++ object and escaped the matrix 😂
Haahahhaah funny
You are a very very good teacher and I hope your C++ vids get way more views and praise
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!!!! 👍👍👍
Awesome. I really liked that you made 2 examples.
By default the members in structures are public. But in classes by default members are private.
Perfect explanation and also nice, clear voice - easy to understand for a not-english-man like me. Thanks a lot!!!😀
Real Bro right there. Thanks Rick!
Thank you for this very useful video!
thanks bro this is the best video ever seen in youtube...GOD BLESS U.you are like angle for me..keep uploading bro
Smooth and to the point as usual. Common Bro Code W
WWWWWWW
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 !
I hope you can make oop playlist in c++
THE LEGEND IS BACK!!!!!!!!!
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!
smooth Rick and Morty reference
looks like you don't have to New Up an object - is C# is making me code MORE than C++ (Egregious)
With you OOP is easy
earnd my sub!
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?
what's the difference from classes and structs
By default the members in structures are public. But in classes by default members are private.
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)
@@tahawaseem6989 even structures can have member functions
I see Constructors are coming in the next lesson 😋
Need help, still confused, is it like struct but with functions?
RICK AND MORTY MENTIONED!!????? WHAT IS A PROPER EPISODE!!??!?
#include
class Human{
public:
std::string name;
int age;
bool isInjured;
void eat(){
std::cout
#include
class Dog{
public:
std::string name;
std::string breed;
int age;
void bark(){
std::cout
Rick & Morty fan 😂😂😂
Comment no 24
#include
using namespace std;
class school
{
public: //access specifier
int roll;
string name;
char sec;
void teach()
{
cout