Need some help with this....I don't know how to write up an array of strings
eg
char mystr[30]="Hello";
char mystr2[30]="There";
and i'd like to put those 2 strings in an array so that i can just access it like strarray[0]="Hello"
is this possible at all? if yes then please help
note that for this example the number of elements is known, however, plz tell me how to write it up if the number of elements is unknown



LinkBack URL
About LinkBacks


