This is a really newbie question, but I can't figure out what is going wrong. I'm just trying to use a simple string array. I've boiled do the code to show where the error is happening:
You need to wrap red and blue in quotes:
char *color[2] = {"red", "blue"};
With the way you have it, the compiler is trying to find what red and blue are identified as.
Something like:
int red;
for example. The identifier (like color) hasn't been declared with a type (like char*).