cedric moonen wrote: I think you have to remove the * !! I'm sure that you should remove the '*' :) Besides that, you are not declaring a 2 dimensional array, but an array with 3 dimensions!!! If you want to use pointers, you have to initialize the array! this should work: char m_pData[MAX_DATARULES][4]; the pointer version char *m_pData[4]; and initialize it this way: for(int i = 0; i < MAX_DATARULES;i++) m_pData[i] = (char**) malloc(sizeof(char*)); :-OI haven't been doing such things lately so the initialisation could contain some errors:-O good luck!
A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.