I have a character array set up and I need to see if a specific character in the array is a certain letter. I have tried:
if (code[0]=="E") cout<<"1";
That didn't work, even though "E" is exactly what is in that slot of the character array. I did not find any commands for comparing single characters by searching this site.