cin.get() AND cin.getline() ignored by compiler..??

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
Can you post what you have so far?
Topic archived. No new replies allowed.