vector<string> guess(4);
cout << "Input a Guess(e.g red blue green yellow): ";
cin >> guess[0] >> guess[1] >> guess[2] >> guess[3];
this is part of my code to let the user input 4 different guesses, is there anyway I can limit the input by 4 so that if the user inputs more or less than 4 it would be invalid?
the input are basically strings