Sunday, July 8, 2007
An introduction to Function Pointers in C++
If you've been coding for a while and haven't moved on to .NET or Java, then there is a chance that your still living in the world of C/C++. If so then you enjoy the complete freedom of the language(s), which in short allows you to just about anything. Today's post is about function pointers, what their good for and how to code them. The basic purpose of a function pointer is to allow the application to change which function gets called at runtime. Which means C/C++ programmers have a very powerful way of designing call backs or implementing late binding techniques. The following site has a very detailed description on how to implement function pointers and when they should be used. (Check the link here)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment