Skip to content

Instantly share code, notes, and snippets.

@aquibdoescalculus
Created June 25, 2018 12:37
Show Gist options
  • Save aquibdoescalculus/9d0a7f8205353ff453b7cd9f08737dfc to your computer and use it in GitHub Desktop.
Save aquibdoescalculus/9d0a7f8205353ff453b7cd9f08737dfc to your computer and use it in GitHub Desktop.
My confusion
void playGame() {
//loop for number of turnes
constexpr int Turns = 7;
for (int i = 1; i <= Turns; i++)
{
getGuess(); // <-----In the actual code why is it NOT CALLING for THIS function?
//print the guess
string Guess = getGuess();
cout << "Your Guess was :" << Guess << endl;
cout << endl;
}
return;
}
@aquibdoescalculus
Copy link
Author

Please help me understand why we dont call for the getGuess function there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment