If I want an array of pointers to something, I declare it like this:
Type** var = new Type*[8];
and use it like this:
if(var[0] != NULL)
// Do something
But how can I have an array of function pointers in a similar fashion? Something like this maybe:
typedef bool (*Handler)(int, int);
Handler** list = new Handler*[8];
...
Handler* func = list[0];
if(func != NULL)
*func(6, 5);