I'm not sure why this isn't working, but this is my error message:
Error] no match for 'operator!=' (operand types are 'std::string {aka std::basic_string<char>}' and 'const int')
1 2 3 4 5 6 7 8 9 10 11
int main ()
{
constint SENTINEL = 0; // Sentinel value.
// Request input string unless sentinel is entered.
cout << "Enter a word or series of words. " << '\n';
cout << "Or, enter " << SENTINEL << " to quit. " << endl;
cin >> withVowel;
while (withVowel != SENTINEL)
Yeah, that was the problem I was able to fix that, but now I'm struggling because I just realized the code only removes vowels from the first word and not from a sentence :(...