|
-
Jan 2nd, 2001, 04:20 AM
#1
Thread Starter
Hyperactive Member
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
-
Jan 2nd, 2001, 06:10 AM
#2
Monday Morning Lunatic
When you use the >> operator on cin, whitespace is ignored.
You could use a function like cin.getLine if you need everything.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|