would any body tell me about the concept behind callback functions
Printable View
would any body tell me about the concept behind callback functions
The concept is that you pass the address of a function to another function and that function can call that function you passed as a "callback." It can pass information or call it during certain events, and so on.
I think callback functions are more of a C concept, which have been replaced by function objects (functors or delegates) in C++.