delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/04/00:20:23

From: "Richard Birch" <richardbirch AT dial DOT pipex DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Simple problem regarding text on the screen
Date: 31 Jul 1997 18:51:46 GMT
Organization: UUNET
Lines: 16
Message-ID: <01bc9de2$4b4ae320$LocalHost@damien>
NNTP-Posting-Host: af093.du.pipex.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I have a really simple, but equally annoying problem. Every time I output
anything to the screen using cout or putch, it doesn't appear until either
I output a new-line character or the program exits. Here's an example;

#include <conio.h>
#include <strstrea.h>

main() {
          cout << "Text";
          getch();
}

Some programs I've done work, but I can't figure out why. Maybe I'm totally
blind but can anyone help?

<richardbirch AT dial DOT pipex DOT com>

- Raw text -


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