123456
string input; cin >> input; if (!cin) // if (input.empty() cout << "No input"; else cout << "\nInput was " << input;