📚 Learn how to solve problems and build projects with these Free E-Books ⬇️
C++ Lambdas e-book - free download here: bit.ly/freeCppE-Book
Entire Object-Pascal step-by-step guide - free download here: bit.ly/FreeObjectPascalEbook
🚀📈💻🔥 My Practical Programming Course: 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: 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: bit.ly/UE-CB
It is a powerful, secure text editor designed specifically for programmers.
☕ 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: 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! ❤️😇
The delegate callback pattern is very hard to understand for beginners, but it is important since it is used very often in programming.
In this video, I'm explaining
- what are delegates and callbacks
- what is the delegate callback pattern
- how to implement it in C++
- what kind of relationship it has with function pointers
- how the delegate-callback pattern is used in other programming languages
C++Builder will help us to visualize a practical example, and it'll be easy to understand, so you'll be able to remember it and apply it on your own.
Download C++Builder bit.ly/CppBuilderFree
Contents:
00:00 - What will you learn in this video
01:14 - What are delegates
01:58 - Callbacks and delegates
02:22 - Showing the application that we're going to build
03:26 - Building the user interface
07:19 - Send data from parent class to child class
13:00 - Delegate-callback pattern example
23:03 - Summary
23:38 - Tips
Related videos:
Function pointers for beginners - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Laiv_E2q_nQ.html
Add me on other platforms:
Instagram 📸 - TrueCodeBeauty
Twitter 🐦- TrueCodeBeauty
20 дек 2022