i *think* this is an easy question, just haven't figured out how to go about it.
i want to do a c-style bsearch (unless there is a better way) on an array and the compare function (5th param to bsearch) takes a function pointer.
well, my comparison function is inside the object that contains this search. and i need to pass that function pointer to bsearch(), however, i get compiler errors.
can i pass a member function pointer to bsearch? or how do i do this with c++?