C++ Programming Tutorial 93 - Operator Overloading == and +

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


~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
Рекомендации по теме
Комментарии
Автор

Explain better than most paid c++ course

walrexx_
Автор

Honestly your teaching skills are godlike, but i'd appreciate if you left a comment pinned after every video with the code, what compiler you used, and if it's possible, the common issues when using what you're teaching

Unikv
Автор

hey man you are saving my ass with these videos. thank you.

saladforbrains
Автор

You are absolutely the best. Its really easy to follow as a beginner to this concept. Thank you

quanduong
Автор

This is incredibly helpful. Going through this stuff in my class right now and the text book and materials have been so confusing! Thanks!

Sloth
Автор

Thank you! I was stuck on this chapter as my course tried to explain this simple function with a class with raw pointers which are pretty complicated for me still. Not anymore though thanks to you!

Thanks!

nikolaosploumis
Автор

This is a great explanation. Have an assignment due and couldnt wrap my head around it.

PLarry
Автор

My CIS 235 teacher is horrible at best. If it was not for you videos, I would not be doing as well as I am in the class. Keep up the solid work.

coreylatham
Автор

That was the best explanation. You Rock! thanks

ronaldocorrea
Автор

Operator overloading? More like outstanding content overloading! Thanks again for such a wonderful tutorial series.

PunmasterSTP
Автор

The best explanation yet. The first explanation that made me understand. You're the only that explains from where it comes what is on the left of the operator and what is on nthe right clearly. Specialy the left one.

Byynx
Автор

I love using operator overloading in my struct. It’s so useful

TheEpicFace
Автор

THE BEST explanation ever. Thank you. Now I did understand.

vinniciusrosa
Автор

Thank you! Best explanation I have ever seen on operator overloading!

enjoyinglife
Автор

After I created a constructor, error occurs..
It says...no matching function for call to position ()...
Where is the wrong ?

thiranaramuditha
Автор

Thank you Caleb you are truly like no one else.

vsoeflm
Автор

I accidentally forgot to return the correct type for the + operator overload, but apparently c++ handled the conversion automatically.

scullyy
Автор

@5:36 you say "This is going to take a position on the right", but we also want it to take a position on the left. Why are we not caring about the left?

pmcate
Автор

so operator overloading only works for c++11?

raiyanreza
Автор

For the "operator ==" could you not just do:

bool operator == (Position pos)
{
return (pos.x == x && pos.y == y);
}

cameronsmith