cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
how to skip input in c++?
how to skip input in c++?
May 7, 2014 at 5:06am UTC
tjnapster555
(44)
i want to make a program that skip input when user don't want to enter the detail like if he don't want to enter email he just press enter and program go to next input question
how i can do that?
May 7, 2014 at 5:25am UTC
Zhuge
(4664)
Depending on how you are reading the input, you could just check if the user entered the empty string, and if so, move on.
Topic archived. No new replies allowed.