Well I am coding a small intermediate program to help me with learning c++ , and i am wondering how to check for blank input to cin >> string
heres what i have
string name;
cout << "Enter You're Name: ";
getline(cin, name);
and if i just hit enter without typing any name the program just stays blank
it is a console app btw