delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/09/20:17:07

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

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)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019