In the name of God.
I know the function pointers .
Please Describe the Callback functions and using them in C++ .
Please Give me an Example ( Don't use Sorting functions , they are confusing me..);
Thanks in advance.
Moderators: Darobat, RecursiveS, Dante Shamest, Bugdude, Wizard
//Call
myFunction(status, HandleResultFunction);
//
myFunction(int, SomeFuncPointer)
{
//Do work.
//work is done send the result to a function that will handle it
SomeFuncPointer
}
Users browsing this forum: No registered users and 1 guest