Date: Mon, 27 Feb 1995 11:01:22 +0100 From: gbm AT ii DOT pw DOT edu DOT pl (Grzegorz B. Mazur) To: djgpp AT sun DOT soe DOT clarkson DOT edu, jkeene AT unlinfo DOT unl DOT edu Subject: Re: Question reagarding kbhit() printf is not guaranteed to flush the buffer. Its behavior is implementation- dependent. Usually printf actually print(f)s something when you output '\n'. If you want to be sure that the output gets printed, use fflush(stdout) after your printf call. Gregory