From: myknees AT aol DOT com (Myknees) Newsgroups: comp.os.msdos.djgpp Subject: Re: printf/getch problem Date: 27 Jan 1998 03:49:35 GMT Lines: 21 Message-ID: <19980127034901.WAA22568@ladder02.news.aol.com> NNTP-Posting-Host: ladder02.news.aol.com References: <34CC5211 DOT 57270346 AT alcyone 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 <34CC5211 DOT 57270346 AT alcyone DOT com>, Erik Max Francis writes: >Leon Heller >wrote: >> >> Try fflush(stdout). > >Better yet, do not mix stdio and conio calls. >They were not meant to be >used at the same time. I hear many people say that, and it makes sense on an abstract level, since file (or stdin / out) I/O is different from console I/O. But no one has ever said what concrete bad would really come of it. ...printf("conio & stdio can't get along\n"); getch();... Will this code run slowly or become unstable or be less portable or something? I know this is really a C question, but I'm hankerin' to ask the djgpp people who say this stuff what they really mean. --Ed (Myknees)