Lecture Notes for Advanced Programming II

18 March 2004 - Function Pointers


Outline


String-Type Functions


Uniform Device Interfaces


Widget-Action Coordination


Function Pointers


What are Function Pointers?


Function Pointer Declarations


typedefs


Function Pointer Gotchas


Operations on Function Pointer Values


Follow and Address-Of


The Call Operator ()


Function Pointers Idioms


Function Arguments


Interface Definitions


Callback Functions


Other Callback Uses


Function Pointers in C++


Points to Remember


This page last modified on 24 March 2004.