How do you check to see if the user didn't input anything at a cin command and simply pressed enter?

Edit
Report