Pointers to Objects and Arrow Operator in CPP | C++ Tutorials for Beginners #51

preview_player
Показать описание

Best Hindi Videos For Learning Programming:

►C Language Complete Course In Hindi -

►JavaScript Complete Course In Hindi -

►Django Complete Course In Hindi -

Follow Me On Social Media
Рекомендации по теме
Комментарии
Автор

3:15
Bhaiya you can't imagine how much this playlist has changed my life. I can't thank you enough. programming courses are all over the internet but you are giving it for free and it is a far better course than many paid courses on udemy. Salute to you.

livingbeing
Автор

You made each and every concept of c++ damn simple. 👍👍👌👌
Thanks alot...

S_m_r
Автор

Harry Bhaiya ❤aap eise hi videos banaiye hum apko 10 million tak le jayenge 🥰.
Jai Hind🇮🇳

ankitbal
Автор

harry bhai agar aap nahi bhi bologe, to bhi ham apne friends ko aapka channel and playlist recommend karte hai aur karte rahenge. You work very hard for all this, Thank you.

mohammedkaifmirza
Автор

Hari bhai teri videos such mai worth of watching hai.❤

rahgeerh
Автор

Katai zeher hai bhai! ek video mei saare doubt khatam. Thanks a lot :)

tanmaydasgupta
Автор

Harry bhai ka har ek video main favorite dialogue access this whole playlist save it bookmark it 😂💯

omkarshinde
Автор

Hey Harry, with the little understanding of the arrow operator taught by you, I decided to test my knowledge by writing a simple c++ program wherein I take two numbers from the user and perform the simple mathematical operations them using the arrow operator (->). Thanks a lot for this wonderful course and here is my code for any reference or feedback:

CODE:

#include <iostream>
using namespace std;

// class calculator : handling simple mathematical operations on two numbers
class calculator
{
protected:
int num1, num2;

public:
void setnumbers(int a, int b)
{
num1 = a;
num2 = b;
}
int add(void)
{
return num1 + num2;
}
int subtract(void)
{
return num1 - num2;
}
int multiply(void)
{
return num1 * num2;
}
int divide(void)
{
return num1 / num2;
}
};

// main program : where all the fun takes place
int main()
{
calculator *ptr = new calculator;
int a, b;
cout << "Enter The First Number: ";
cin >> a;
cout << "Enter The Second Number: ";
cin >> b;
// using the arrow operators
ptr->setnumbers(a, b);
cout << "Addition Product: " << ptr->add() << endl;
cout << "Subtraction Product: " << ptr->subtract() << endl;
cout << "Multiplication Product: " << ptr->multiply() << endl;
cout << "Division Product: " << ptr->divide() << endl;
return 0;
}

// love you harry bhai

abrarahmad
Автор

After watching this video...my all doubt on arrow opperator get cleared...tnx alot harry sir.. keep making such type of content

DineshSingh-hxkw
Автор

12:20 Harry को चीजों को कॉम्प्लेक्स बनाना ही अच्छा लगता हैं

victorb
Автор

BRAVO!!!!
HATS OFF TO YOUR EXPLANATION!!!
PLEASE MAKE A VIDEO ON COMPETIVE CODING!!

ashishdarekar
Автор

I literally heared save and bookmark this playlist 74 times throughout this playlist

StorysToks
Автор

Thank you harry bhai for making this playlist ♥️🙏

kalpanaverma
Автор

Currently I'm working in TCS so I will share this video in my team group

techpentagon
Автор

3:15 harry sir ye to bilkul nas pakad kar bat ki hai btw thank sir for playlist

gauravmasand
Автор

you deserved atleast 3-4 Millions suscribers

mohammedkaifmirza
Автор

Definitely u ran away my fear obout objects 🙏

pratikjadhav
Автор

Stay safe * * *
People : Mask lagao!!
Harry bhaiya : Parenthesisi lagao😂😂 5:34

harshittripathi
Автор

Harry bhai Thankyou so much.
C++ ka course lane ke liye

bgmigaming
Автор

5:51 I didn't know that name of an object can be same as class name even I watched previous videos.

AshutoshKumar-fuqe
join shbcf.ru