delorie.com/archives/browse.cgi | search |
Date: | Fri, 16 Sep 94 12:14:43 EDT |
From: | peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock) |
To: | early AT finite DOT nrl DOT navy DOT mil |
Cc: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Subject: | Re: printf? |
Reply-To: | babcock AT cfa DOT harvard DOT edu |
> When I try > > printf("\nThis is a prompt: "); > > nothing appears until after I strike a key that is caught by getche. Have your tried setting stdout to unbuffered using setbuf()? Or try fflush(stdout) before reading the keyboard for a response.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |