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