The return value can be printed directly, without any variable declaration. This is what I prefer, although it ultimately will be a matter of taste:
for (int i = 0; i < NUM_ALLOWED_GUESSES; ++i)
{
// Get the guess and print it back to the player.
cout << "Your guess is: " << GetGuess() << "\n";
}