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
cin.get() AND cin.getline() ignored by c
cin.get() AND cin.getline() ignored by compiler..??
Nov 19, 2014 at 10:42pm UTC
cGuru
(42)
I am trying to let the user input a username for their blackjack account and not accept spaces in it. Why is the cin.get() and cin.getline() lines being ignored/skipped by my compiler?
Please help.
Last edited on
Nov 19, 2014 at 10:43pm UTC
Nov 20, 2014 at 3:11pm UTC
megatron 0
(471)
Can you post what you have so far?
Topic archived. No new replies allowed.