Goal:
Write a program that compares the values stored in the first array to the user inputted values in the second array.
In order to fix this error:
Compiler Error C2078
I had to change my array initialization to one with a star in front of it:
Code:
char a1[]={"a","d","b","b","c","b","a","b","c","d","a","c","d","b","d","c","c","a","d","b"};
to:
Code:
char *a1[]={"a","d","b","b","c","b","a","b","c","d","a","c","d","b","d","c","c","a","d","b"};
I also changed my 2nd array to one with a star in front of it:
What does this mean exactly? Putting a star in front of an array?
Also, I am now getting an "unhandled exception" when I try to get input for my 2nd array: