J
John
I want to sort a vector and am implementing a comparison
function, say my_comparison. I would like to send the comparison
function a third argument which changes from time to time.
I understand I can do this using a global variable for the
third variable. Any other suggestions on how to accomplish this?
Thanks,
--j
function, say my_comparison. I would like to send the comparison
function a third argument which changes from time to time.
I understand I can do this using a global variable for the
third variable. Any other suggestions on how to accomplish this?
Thanks,
--j