I have just revived my interest in c and I have the following problem:
I am trying to store an array filled with strings:
Then I need to select one of the array string elements :Code:arraystrings[]={" 5 ms", " 10ms", "15 ms"};
Now I need to extract the individual characters out of the selected string:Code:array[0]=" 5 ms"
Can someone explain to me how to do this? How do you initalize the array and then select a string element the select a character. An example would be great.Code:char array[0][0]=' ' char array[0][1]='5' char array[0][2]=' ' char array[0][3]='m' char array[0][4]='s'
I am trying to save a large string array and then output the characters for the chosen string element on an LCD display one by one but I haven't crossed this bridge yet
Thanks
Chris