I\'m creating a lookup table in C When I define this:
typedef struct { char* action; char* message; } lookuptab; lookuptab tab[] = { {\"aa\",\"bb\"},
I think you have to specify the array size to use the struct in another array:
typedef struct { char* action; char* message[2]; } lookuptab;