• 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...
  • array of pointers
    Want to translate the following code (C51) to ARM const char code *txt_unidade_forca[] = { "gf ", "kgf", "N ", "lbf", NULL}; In this case both texts and pointers are placed in CODE. How to do...
  • 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...
  • c51: Pointer to a fucntion in array
    I have seen the application article about function pointer, but after I have use the OVERLAY attribute, the link told me that : Invalid Keyword . In a osddrive.c file, I create an array like below: code...
  • Pointer to array in a structure?
    hello, i have a simple little structure like this unsigned char index; struct tag { unsigned char a[20]; unsigned char b[20]; unsigned char c }; then i declare a pointer like this...