i keep getting this error:
void get_guess_position(int search_min_x, int search_max_x, int search_min_y, int search_max_y, int (*is_available)(int, int), int *guess_x, int *guess_y); is the function prototype i have to use.
this is where i'm calling the function:
int (*fn_ptr)(int, int);
fn_ptr = &is_available;
void get_guess_position(west, east, south, north, is_available(*guess_x,*guess_y), guess_x, guess_y);
where is_available is defined as: int is_available(int x, int y);