View Single Post
Old Apr 20th, 2007, 10:32 PM   #24
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Wrong about the number of newlines. If the user types 123<ENTER> five times with no intervening reads of the stream, they're all in there. I won't say you're making a mountain out of a molehill, but you're certainly ignoring all the bulldozers sitting around idle.
__________________
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 is offline   Reply With Quote