i'm having problem in executing this statement....
error expression syntax
switch(col)
{
case 1:text[]={"0x00000000"};
break;
case 2:text[]={"0x00FFFFFF"};
break;
case 3:text[]={"0x0000FF00"};
break;
case 4:text[]={"0x00FF0000"};
break;
case 5:text[]={"0x00C000C0"};
break;
case 6:text[]={"0x000000FF"};
break;
case 7:text[]={"0x0000FFFF"};
break;
case 8: text[]={"0x00FFFF00"};
break;
}
char text[10] is global.
please help me out.............