• Array of function pointers
    I have a constant array of function pointers in code space and I an trying to declare a pointer variable to point to this array and then assign the array address to the pointer variable. The C51 compiler...
  • array of pointers to arrays of pointers to string
    Yes, the real problem is, I would like to write an easy to switch, multilingual menu. And I imagine, an array like that should work. But there seems to be some brain blocking in 1. How to define and...
  • Branch to function pointer array
    Hopefully someone knows... I'm writing a jump table for a number of functions. The jump table located '__at' a location in memory contains __asm instructions to branch to all required functions defined...
  • Function pointers array location
    Hello, All: I'm trying to define function pointers array: static const void (*Serial_Func_Table[])(char*) = { SI_Func_1, SI_Func_2, SI_Func_3 }; Despite of "const" memory qualifier, this...
  • how to use function pointer array???
    Hi All I have use function pointer array like this main.c uchar i; for(i = 0;i<END_COMMAND;i++) printf("%bu %x\n",i,Func_table[i]); cmd.h typedef void (*Func) (void); void init_func(void...