News
This can be done for complex state machines that have been broken up into multiple functions. For example, lets define an array of function pointers below The current state of the state machine can be ...
So read on! Function Pointers In general, function pointers aren’t any more mysterious than data pointers: the main difference is that one references variables and the other references functions.
If that is the case, all you need is to build a hash table / map (multimap if you allow overloading), or even a simple array/list of the name -> function pointer.<BR><BR>Your real problem is ...
I'm trying to cast my function to an int, add an offset, and cast it back to a function pointer (I don't plan on calling the pointers).
Some results have been hidden because they may be inaccessible to you
Show inaccessible results