in C++, what statement are you going to put,if the user press enter, it'll say an error instead of going to a newline.
Example;
cin>>x;
OUTPUT
If you press ENTER it'll go to next line until u enter something.
Thanks! bluexrogue2k@yahoo.com
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.