Link to home
Start Free TrialLog in
Avatar of jewee
jewee

asked on

Using cin...urgent!

I am using cin to capture input.  What if the user doesn't enter anything and just hits return?  It won't break out of that.  How do I return an error?
ASKER CERTIFIED SOLUTION
Avatar of Harisha M G
Harisha M G
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jewee
jewee

ASKER

Thanks!