Hey guys I finished this lecture and when I reached the end and debugged it, it stopped working the way it was suppose to, I had a linker error near the end of the lecture when the do while loop was added to GetValidGuess() but after restarting visual studio the error didn’t appear anymore.
Expected Behavior:
I expected the code to work correctly like it did in the lecture.
Observed Behavior:
The wrong numbers of bulls and cows being shown.
Sometimes it prints random bits of code that has been written.
BullCowGame.zip (3.9 MB)
That’s the zip with the project inside.