The Function Pointer Tutorials
5.1 Introductions to Function Pointers
- Classes having Pointers to Members Chapter 15 of the C++ Annotations by Frank Brokken. [Tutorial]
- C++ FAQ-Lite FAQ of the newsgroup news.comp.lang.c++. This link points to the part about pointers to member functions. [FAQ]
- Notes on Function Pointers Short one page tutorial tries to illuminate the idea of generic programming: Seperating algorithm and data. Example of how to use function pointers with container classes, i.e. calling a user supplied function for each container element. [Tutorial]
5.2 Callbacks and Functors

- PC Assembly Tutorial Good tutorial about assembly. Here you can get an insight in what happens if a function is called. Covering calling conventions and how to interface assembly and C code. [Tutorial]
- The Virtual Function Mechanism A short page about the virtual function mechanism used by Microsoft's Visual C++ compiler. [Article]
last updated: 01 January 2011 © 2000-2005 by Lars Engelfried
The source code presented was highlighted using my free Source to HTML Converter tool.