Candidates for the use of const!

The function i think that can use const are NUMBER OF TURNS and Get Guess. That way we can control how many guesses we can put in and the amount of turns in a game. To prevent any bugs.

I think that is wrong make GetGuess a const function because it’s in the main and not in a class and in the video it has been said that you can use const only when you are working in a class. (Sorry for my english, I hope you understand)

1 Like

Privacy & Terms