|
It should work, but you will need to make it proper c++ - the function names should not have brackets around them. and you need to give your parameters a type.
hasUpperCaseLetters needs to loop through all the letters in guess - i.e. until guess[b] is '\0'.
doesNotExist needs to loop through all the words and compare them with guess - i.e. h goes from 0 to nWords - 1
Then you should remove the loop around the function calls.
|