Hi,
Im trying to compare an inputted string to an array of string. If the inputted matches one of the array of string it should return 0, but if not it should return 1. Any suggestion on how to do this?
This is my program:
{
for ( int j=0; j<9; j++)
{
if ((Color[0] == (ColorA[j])) == true)
return 0;
else
return 1;
}
}