I've asked this question in another topic, but people where getting confused with the other parts of the question, so I'll rewrite it by itself here.
I want a user to be able to enter a name of an array, and then the program use that name.
For example: The user enters the array name "office", and the function then works on an array called office[x][y].
Or if the user entered "boats", the function would work with an array called boats[x][y].
An example of the code:
the following line uses the array "office[x]". I want that to have been taken from the users input.
if(stricmp(office[x], string) == 0)
if the user had entered "boat" instead, the line would read:
if(stricmp(boat[x], string) == 0)
I would love any help possible.