I have to compare the contents of a char array to a string. I have to use an if statement to see if one of the characters of the array match one of the letters in the string. How do I go about this?
char array has characters that the user inputs through some kind of loop. The user is trying to guess a secret word which a string that is a global variable. Its actually the game Hangman. To give you an idea.