Path: utzoo!news-server.csri.toronto.edu!rutgers!gatech!ncar!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!news.funet.fi!hydra!cc.helsinki.fi!serifos!syrjanen From: syrjanen@serifos.Helsinki.FI (Seppo Syrjanen) Newsgroups: comp.lang.c Subject: Re: keyboard buffer routine Message-ID: <1991Mar11.193810.18187@serifos.Helsinki.FI> Date: 11 Mar 91 19:38:10 GMT References: <325@platypus.uofs.edu> Organization: University of Helsinki Lines: 6 In <325@platypus.uofs.edu> meo3@jaguar.ucs.uofs.edu (OGRINZ MICHAEL E) writes: >What's the best way to flush the keyboard buffer on the PC ? (I'm using TC 2.0) while (kbhit()) getch(); Seppo