string does not work i try’d to look on google for a solution but couldn’t find anything
I also try’d looking for another discussion relative to my problem but non solved it
I try’d reinstalling visual studio and i even moved to 2017 and still dint work
i don’t know if its a bug or if i am doing something wrong
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
// Cow Bull Game
#include
#include
using namespace std;
int main()
{
// game introduction
constexpr int WORD_LENGTH = 5;
cout << "welcom to bulls and cows\n";
cout << "can you guess the " << WORD_LENGTH;
cout << " letter isogram i'm thinking of?\n";
cout << endl;
// get a guess from the player
cout << "Enter your guess"
string Guess = "";
cin >> Guess;
// repeat the guess back to them
cout << "your guess was " << Guess << endl;
cout << endl;
return 0;
}
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||