OT: flushing the input stream in c++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Why do you believe the flush method only works for output streams?
You can use fflush(stdin); to flush standard in.

  Kirk

-- 

Kirk Reiser				The Computer Braille Facility
e-mail: kirk at braille.uwo.ca		University of Western Ontario
phone: (519) 661-3061




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux