2009-09-15, 11:08 PM
Thank you Fiel. Unfortunately, I don't have access to a compiler until tomorrow but from I'm reading, the program starts out asking the user for an upperBound and lowerBound, then the game doesn't actually start until the player enter a number?
I'm also looking at these lines
cout << "Upper Bound?\n";
cin >> upperBound;
If the user were to enter in 0, wouldn't there would be a division by 0 (osh-) when the program reaches the line "guess = lowerBound + (rand() % upperBound);"?
I'm also looking at these lines
cout << "Upper Bound?\n";
cin >> upperBound;
If the user were to enter in 0, wouldn't there would be a division by 0 (osh-) when the program reaches the line "guess = lowerBound + (rand() % upperBound);"?

