PDA

Click to See Complete Forum and Search --> : cin problem SIMPLE


WP
Jan 2nd, 2001, 03:20 AM
Hi,

I'm new in C++, and I've a problem: When I use 'cin>>' the first time, it works good, but when I use it later again, it doesn't ask any input !

WP

parksie
Jan 2nd, 2001, 05:10 AM
When you use the >> operator on cin, whitespace is ignored.

You could use a function like cin.getLine if you need everything.