From: myknees AT aol DOT com (Myknees) Newsgroups: comp.os.msdos.djgpp Subject: Re: Why don't printf work properly with getch ()? Date: 9 Oct 1997 23:44:02 GMT Lines: 28 Message-ID: <19971009234401.TAA18998@ladder01.news.aol.com> NNTP-Posting-Host: ladder01.news.aol.com References: <19971008135201 DOT JAA16622 AT ladder02 DOT news DOT aol DOT com> Organization: AOL http://www.aol.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article <19971008135201 DOT JAA16622 AT ladder02 DOT news DOT aol DOT com>, br5an AT aol DOT com (Br5an) writes: >>examples: >> printf ("\n1"); >> printf ("\n2"); >> printf ("\n3"); >> getch (); >>would produce >>1 >>2 >>waiting for keystroke, after a key is pressed >>3 > [snip] > This may all be true. With other compilers I've shamelessly mixed stdio > and conio functions without a hitch. But in the example above, could it >just > be another example of buffered output most of us here (at msdos.djgpp) have > read so much about lately? > > Sincerely, Br5an AT aol DOT com > > Yes! --Ed (Myknees)