Computer Programming
278 learners
Designing Higher-Order Functions in C++
This course introduces you to advanced aspects of handling functions in C++. You'll learn about function pointers, storing functions as variables, and dynamic function operations, such as passing and returning functions, `std::bind`, and its alternatives.
C++
See path
4 lessons
19 practices
4 hours
Badge for General Programming and Algorithms,
General Programming and Algorithms
Lessons and practices
Storing Functions in C++ Variables Using Pointers and std::function
Replace Function Pointer with std::function
Use std::function Instead of Function Pointer
Space Exploration Thrust Calculation
Storing and Using Function Variables
Modify filterVector to Return Filtered Vector Instead of Printing
Quicksort Implementation with a Comparator Function
Modify Vector Elements with a Function Argument
Implementing a Reduce Function with Function Arguments
Transform Elements in a Vector
Fix the Faulty Incrementor Function
Implement a Multiplier Factory Function
Exponentiator Function Factory
Generating Personalized Greetings
Implement a Function that Returns a Boolean Function
Binding Function Arguments with std::bind
Replace std::bind with Lambda Expressions
Fix the Multiplication Binding
Bind Multiple Arguments and Create Equivalent Lambda Expressions
Meet Cosmo:
The smartest AI guide in the universe
Our built-in AI guide and tutor, Cosmo, prompts you with challenges that are built just for you and unblocks you when you get stuck.
Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal