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.
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
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