delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/20/09:08:34

Date: Tue, 20 Jul 1999 16:06:03 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Sean <sproctor AT enter DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Need help with class stuff
In-Reply-To: <379e9ba7.28271532@news.enter.net>
Message-ID: <Pine.SUN.3.91.990720160155.20658C-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 19 Jul 1999, Sean wrote:

> [snip]
> >  printf("Type 1 or 2 : ");  fflush(stdout);
> [snip]
> Not to be picky or anyting, but that's not necessary with DJGPP as far
> as I know.  printf, doesn't require that you call fflush to write to
> the screen as cout does.  I don't know why exactly they made that
> change, but it doesn't.

Read the "Changes in 2.02" section in the DJGPP Knowledge Base (type 
"info know what 'changes in 2.02'" from the DOS prompt), and you will 
know.

Note that this magic only works for `printf', not for `fprintf'.

- Raw text -


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