View Single Post
Old Nov 16th, 2006, 2:04 AM   #17
The Dark
Expert Programmer
 
Join Date: Jun 2005
Posts: 894
Rep Power: 4 The Dark is on a distinguished road
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.
The Dark is offline   Reply With Quote