hi !
I want a table from which i can take char data. so i have used char 2-dim array.my initialization is ok. but complier gives following error :
MAIN.C(24): error C242: 'array[]': too many initializers
unsigned char guj_powerfail[8][5]= {{0x1b,0x0b,0x0b,0x0b,0x0f,0x03,0x03,0x00}, {0x19,0x11,0x11,0x11,0x13,0x1d,0x01,0x00}, {0x1c,0x04,0x04,0x1c,0x08,0x08,0x0c,0x00}, {0x00,0x00,0x1d,0x05,0x05,0x05,0x1d,0x00}, {0x0f,0x00,0x1b,0x0b,0x1b,0x13,0x1f,0x00}};
Please help.
my initialization is ok. but complier gives following error If the initialization would be ok, the compiler wouldn't give you an error... doesn't it?
whatever happens it is ALWAYS the fault of the tools.
I wonder if the OP has disappeared having found the GLARING error by him/herself
Erik