Thread
:
Why do I have to enter two cin.get()?
View Single Post
Apr 20th, 2007, 5:56 AM
#
20
DaWei
Resident Grouch
Join Date: Jun 2005
Posts: 6,453
Rep Power:
10
That form of ignore will only ignore up to the next newline. If there's more trash beyond that, it won't be ignored.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner:
Grumpy on C++ Exceptions
DaWei on Pointers
DaWei
View Public Profile
Visit DaWei's homepage!
Find More Posts by DaWei