Student Reviews
( 5 Of 5 )
1 review
Video of C++ Operator Overloading beginner to advanced (in-depth explanation) in OOP course by CodeBeauty channel, video No. 8 free certified online
Learn how to solve problems and build projects with these Free E-Books
C++ Lambdas e-book - free download here: https://bit.ly/freeCppE-Book
Entire Object-Pascal step-by-step guide - free download here: https://bit.ly/FreeObjectPascalEbook
My Practical Programming Course: https://www.codebeautyacademy.com/
Experience the power of practical learning, gain career-ready skills, and start building real applications!
This is a step-by-step course designed to take you from beginner to expert in no time!
Here is a coupon to save 10% on your first payment (CODEBEAUTY_YT10).
Use it quickly, because it will be available for a limited time.
Download Visual Assist here: https://bit.ly/WT-CB
I use it to enhance the performance, features, and support for C, C#, and C++ development in Visual Studio.
Download Ultra Edit here: https://bit.ly/UE-CB
It is a powerful, secure text editor designed specifically for programmers.
In this video, I'll explain C++ Operator Overloading from beginner to advanced and teach you about operator functions.
In C++ overloaded operators are functions with special names: the keyword "operator" followed by the symbol for the operator being defined (ex. operator+, operator-, operator, etc.)
Which operators can be overloaded?
- Most operators can be overloaded, the exceptions are . (dot) :: ?: sizeof
There are two types of operator functions: global operator functions and member operator functions.
In the video, I'll teach you about both and I'll also demonstrate how to do operator overloading for the most important operators and explain common errors that happen with operator overloading
Download PVS-Studio for free with #code_beauty promo code: https://bit.ly/PVS-StudioFreeCB1
PVS-Studio YouTube channel – https://www.youtube.com/channel/UCgOtSopdNjACcxXQpdGQEnA/
PVS-Studio Facebook group - https://www.facebook.com/StaticCodeAnalyzer
If you've found my content helpful and would like to support me, you now have the option to buy me a coffee or a cookie! It's a small gesture of gratitude that means a lot to me and helps me keep creating free educational videos for you. Use the link to make a contribution: https://bit.ly/CodeBeauty_BuyMeACoffee
However, please don't feel obligated to do so. I appreciate every one of you, and I will continue to share valuable content with you regardless of whether you choose to support me in this way. Thank you for being part of the Code Beauty community!
C++ Structures - https://youtu.be/9j5KkOC_goQ
C++ Classes and constructors - https://youtu.be/iVLQeWbgbXs
Contents:
00:00 - Intro
01:01 - This is how I analyze my code
01:54 - Introduction to operator overloading and operator functions in C++
07:29 - Ostream operator overloading (insertion operator)
18:12 - Overloading + operator
21:35 - Different types of operator functions (global vs member functions)
23:57 - Ostream operator overloading (insertion operator)
26:57 - Overloading - operator
28:34 - C++ operator overloading common errors
34:16 - Results of the PVS-Studio code analysis
Follow me on other platforms:
Instagram - https://www.instagram.com/TrueCodeBeauty
Twitter - https://twitter.com/TrueCodeBeauty
CODE IS IN THE COMMENTS