I have just begun programming, and I thought I would try my hand at making a very basic game of Hangman. The particular sequence I'm having trouble with is:
It's supposed to check if the letter you have guessed can be found in the word (where "cop" is short for "copy", a copy of the word, but since that's a function I had to settle with this). The error I'm getting is:
"initializing argument 1 of 'int strcmp(const char*, const char*)' [-fpermissive]", as well as "error: invalid conversion from 'char' to 'const char*' [-fpermissive]".