Date: Tue, 13 Jan 1998 18:01:23 -0800 (PST) Message-Id: <199801140201.SAA28643@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Bjoern DOT Appel AT frankfurt DOT netsurf DOT de (Bjoern Appel), djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: char getch(void) Precedence: bulk At 10:14 1/13/1998 GMT, Bjoern Appel wrote: >Hi, >I've this little program: > >//start of little program ********** >#include >#include > >int main(void) >{ > clrscr() > printf("Please wait..."); > getch(); > return 0; >} >//end of little program ********** > >Now the problem: >The program shows a blank screen and will print the "Pleas wait..." >AFTER I pushed a button, not BEFORE !!! > >What could I do ? You could read FAQ section 9.4. It explains that stdio is buffered in DJGPP, and what you can do about it. Nate Eldredge eldredge AT ap DOT net