This is how I did my challenge:
main.cpp
fBullCowGame.cpp
It works but there is an issue after you hit play again that it says:
Try 1 What is your guess: Please enter a 5 letter word
Try 1 what is your guess:
like if its trying to validate a guess that isn’t there. Well I almost had it.
Have a great day everyone.
Edit: ok after changing the code to match the video I still get the:
Try 1 What is your guess: Please enter a 5 letter word
Try 1 what is your guess:
for some reason when you play again it skips the cin prompt the first time and I don’t know why. Any help is appreciated. Here is my code:
main.cpp
fBullCowGame.cpp
fBullCowGame.h