Hello for the past few hours I've been working with object oriented,
Last edited on
Ohh! I had a typo I meant pair
Last edited on
Its working but how do i keep track of incorrect guesses of letters,
Create int variable and increase it every time when user guesses incorrectly.
it just shows me a random word when i compile
1 2 3
|
int fails = 0;
if(!guessWord.size())
++fails;
|
?
Last edited on
Last edited on
word!=guessWord.size()
What are you trying to do here?
if its not equal to the randomed word,
if letter is not equal to size of guessWord actually.
And I do not know what do you want to do with that.
Create algorithm first. Then try to follow it. Then if everythig is alright, think how to implement it in C++.
I will finish it by tomorrow, im too sleepy i cant think at all.
THANKS ALOT bro
Last edited on