I’m having trouble creating a container of strings for use. For example, I’m trying to store strings in an array structure so that I can reference each string by index. However, upon creating a string array, it’s just like creating a single string of length of the array.
For instance:
char alist[10000]
… would be a character of length up to 10000. If I reference any index in “aList”, it would just return the value of the character at that index.
I’m thinking of using a 2-dimensional array but I don’t know if that’s possible with strings. Am I missing something here? Any help would be appreciated.