تقييمات الطلاب
( 5 من 5 )
١ تقييمات
فيديو شرح C++ Copy constructors (beginner-friendly tutorial + practical examples) ضمن كورس OOP شرح قناة CodeBeauty، الفديو رقم 12 مجانى معتمد اونلاين
This is an OOP tutorial where I'll teach you about copy constructors in C++. After watching this video, you'll learn what is the purpose of copy constructors, understand how they work in-depth, as well as how to fix and avoid most common errors in your code caused by copy constructors.
I'll also share best practices and tips on how to write good Object-Oriented code, and we'll see some real-world examples and practical applications of copy constructors.
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 a 7-day free trial from the PVS-Studio website or get an exclusive 30-day fully functional license for free by entering the 'code_beauty' promocode or use this link:
http://bit.ly/PVS-StudioFreeCB1
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. You can use the link below 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!
Contents:
00:00 - Explanation of the code that we will be using for this video
05:08 - Purpose of the copy constructor
05:51 - Common errors related to copy constructors
07:24 - Rules for implementing a copy constructor
08:51 - In-depth analysis of the copy constructor
12:57 - Visual representation of common Copy constructor errors
19:18 - 3 situations when a copy constructor is invoked
19:49 - Difference between Copy constructor and Assignment operator
25:59 - Learn programming with my Practical Programming course
Related videos:
Constructors 1: https://youtu.be/1LGJSRFrxqQ
Constructors 2: https://youtu.be/1LGJSRFrxqQ
Destructors: https://youtu.be/gEcLCba7HQU
Dynamic arrays and Pointers: https://youtu.be/axsplPtoQF0
Add me on other platforms for more educational content:
Instagram - https://www.instagram.com/TrueCodeBeauty
Twitter - https://twitter.com/TrueCodeBeauty
CODE IS IN THE COMMENTS