Fix for C++ 17 -> 11
This commit is contained in:
parent
57864ba51d
commit
78acaf3290
2
main.cpp
2
main.cpp
@ -11,7 +11,7 @@ string guessRank(int);
|
|||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
std::mt19937 rand {std::random_device{}()};
|
std::mt19937 rand {std::random_device{}()};
|
||||||
std::uniform_int_distribution clamp {1, 100};
|
std::uniform_int_distribution<int> clamp {1, 100};
|
||||||
string name {promptfs("Enter your name:")};
|
string name {promptfs("Enter your name:")};
|
||||||
std::cout << "Hello " << name << ", welcome to guess the number.\n";
|
std::cout << "Hello " << name << ", welcome to guess the number.\n";
|
||||||
int guesses {};
|
int guesses {};
|
||||||
|
Loading…
Reference in New Issue
Block a user