I have a 2 dimensions array like this
Code: Select all
const char sound_menu[3] [13] = {
{"SOUND + VIBR"},
{" SOUND "},
{" VIBRATION "}
};
Code: Select all
Write_String(62, 7, sound_menu[sound_menu_index]);
I tried to use pointers but every time I got some kind messages or errors. Not enough knoweleges.308 1505 Suspicious pointer conversion main.c
Please help.
Function prototype:
Code: Select all
void Write_String(unsigned char xposition, unsigned char yposition, char *);
void Write_String(char xposition, char yposition, char *string){
............