@ne555, what I want to do is set up a way where I don't have to have an if/else if type of setup to call different functions.
My "real" program is a 3D engine where I want to switch to different types of cameras based on the user's preferences.
So, as you know, with 3D engines there is perspective and orthographic cameras. Let's pretend that in the code above "FirstFunction" is the perspective-based camera and the "SecondFunction" is the orthographic-based camera.
As it stands now on every frame I have to do an if/else if statement on whether to run parameters and calculations for the type of camera it is.
With the function pointer what I was hoping to achieve was to avoid the if/else if test on every frame and just update the function pointer which will allow me to call the right function.
I hope this makes sense. I can give a code example that more closely aligns with what I am trying to achieve with the function pointers.