filmov
tv
Function Pointers for beginners! How and when to use Function Pointers?
Показать описание
📚 Learn how to solve problems and build projects with these Free E-Books ⬇️
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.
Function pointer is a special type of pointer that is used in order to store the address of a function.
Function pointer syntax is complex and many beginners find it hard to understand.
In this video, I'll explain how to use function pointers in C++ and what is their purpose.
I'll show you how to create a function pointer, how to invoke a function using a function pointer, and also how to use and create function pointers to functions that receive parameters/arguments.
Function pointers are often used in order to optimize the code and make it reusable, and in this video, I'll explain how to use a function pointer in order to pass a function as a parameter/argument to another function.
Contents:
00:00 - Intro to function pointers
01:26 - What are function pointers?
03:40 - How to create a function pointer?
05:25 - How to invoke a function using a function pointer?
06:10 - Pointer to a function with parameters
09:01 - Why and when to use function pointers?
16:12 - How to pass a function as a parameter/argument to another function?
Follow me on other platforms:
*******CODE IS IN THE COMMENTS*******
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.
Function pointer is a special type of pointer that is used in order to store the address of a function.
Function pointer syntax is complex and many beginners find it hard to understand.
In this video, I'll explain how to use function pointers in C++ and what is their purpose.
I'll show you how to create a function pointer, how to invoke a function using a function pointer, and also how to use and create function pointers to functions that receive parameters/arguments.
Function pointers are often used in order to optimize the code and make it reusable, and in this video, I'll explain how to use a function pointer in order to pass a function as a parameter/argument to another function.
Contents:
00:00 - Intro to function pointers
01:26 - What are function pointers?
03:40 - How to create a function pointer?
05:25 - How to invoke a function using a function pointer?
06:10 - Pointer to a function with parameters
09:01 - Why and when to use function pointers?
16:12 - How to pass a function as a parameter/argument to another function?
Follow me on other platforms:
*******CODE IS IN THE COMMENTS*******
Комментарии