From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: Why don't printf work properly with getch ()? Date: Wed, 08 Oct 1997 11:19:00 -0700 Organization: Alcyone Systems Lines: 27 Message-ID: <343BCE94.1C1D8946@alcyone.com> References: <01bcd38e$b9e2da40$0b0867d1 AT default> <19971008135201 DOT JAA16622 AT ladder02 DOT news DOT aol DOT com> NNTP-Posting-Host: newton.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Br5an wrote: > This may all be true. With other compilers I've shamelessly > mixed stdio > and conio functions without a hitch. That's by coincidence; DJGPP is not incorrect in exhibiting this behavior. It's the fault of the programmer in using two incompatible screen libraries. The same is true of mixing others, such as stdio and curses, or conio and curses. They are all unaware of what the others are doing, so unexpected behavior will often result. > 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? In a word, yes. -- Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com Alcyone Systems / http://www.alcyone.com/max/ San Jose, California, United States / icbm://+37.20.07/-121.53.38 \ "After each war there is a little / less democracy to save." / Brooks Atkinson