call back

closed account (iw0XoG1T)
I working with a graphics library and I am having a bit of trouble understanding call backs. Does anyone know of a source that would explain this construct and maybe provide a few simple examples?

I believe if I have a better understanding of this construct (call backs) I'll be able to understand the documentation better or at least be able to to ask intelligent questions.
A callback is a function pointer that you pass as a parameter to another function or store in a variable/struct/whatever.

http://en.wikipedia.org/wiki/Callback_%28computer_science%29
Topic archived. No new replies allowed.