Posted by: vas November 11, 2006
Login in to Rate this Post:
0
?
you have not declared more than 9 color and u r passing the argumment of the 11th row.
char COLOR_CODES[10][7] = {"black", "brown", "red", "orange", "yellow", "green", "violet", "gray", "white"};
color_number[i+1] = search(COLOR_CODES[10][7], 10, user_color[i]);