delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/20/17:58:39

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Using getch() in DJGPP
Date: Sun, 20 Oct 1996 13:46:15 -0700
Organization: Alcyone Systems
Lines: 14
Message-ID: <326A8F97.2E02E9B9@alcyone.com>
References: <01bbbea6$206725e0$454fb7ce AT default> <54drmc$qs4 AT news DOT sdsmt DOT edu>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Olav Kindt wrote:

> In your program you can avoid this by setting a newline at the end out
> your out putstring. "Hello\n". This will force the output to stdout at
> once.

You can also explicitly flush stdout with fflush.

-- 
                             Erik Max Francis | max AT alcyone DOT com
                              Alcyone Systems | http://www.alcyone.com/max/
                         San Jose, California | 37 20 07 N 121 53 38 W
                                 &tSftDotIotE | R^4: the 4th R is respect
         "But since when can wounded eyes see | If we weren't who we were"

- Raw text -


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