I would like to know how i can pass a pointer to a function to another function as a parameter, only the function that i wish to pass has multiple parameters. For example, my main function:
void main_func(float **D, float **w , int n, Pointer_to_func)
The function that i want to pass:
float func(int x_1, int y_1, int x_2, int y_2 ,int q)
Thanks.
typedefs to stop the syntax getting too hairy.