On Sun, Feb 26, 2012 at 16:58, Brandon Allbery <allbery.b@gmail.com> wrote:
On Sun, Feb 26, 2012 at 13:05, Alexander Batischev <eual.jp@gmail.com> wrote:
getWord). That's how scanf() in C and 'cin >>' in C++ behave, and I'm
(polemic deleted)

Uh, belated disclaimer:  I've been saying for years that scanf() and fscanf() should be banished from libc, or at minimum covered with severe "don't use this.  really, DON'T USE THIS." warnings as with gets().

--
brandon s allbery                                      allbery.b@gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms