www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/09/10:15:13

From: "Shawn" <NRLax27 AT aol DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <926196823 DOT 140 DOT 94 AT news DOT remarQ DOT com>
Subject: Re: stream question
Date: Sun, 9 May 1999 01:46:05 -0400
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
NNTP-Posting-Host: 128.119.116.182
Message-ID: <3735215c.0@oit.umass.edu>
X-Trace: 9 May 1999 01:47:08 -0500, 128.119.116.182
Organization: University of Massachusetts, Amherst
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Shaggs <jud AT tminet DOT com> wrote in message
news:926196823 DOT 140 DOT 94 AT news DOT remarQ DOT com...
> What all do i need to have in my code to write to the screen using
streams.
> Im a C++Builder person normally, but its not working for DJGPP. Here's
what
> i got
>
> #include <iostream.h>
>
> cout << "Hello World";
>
> this causes compiler errors, any ideas?
>
>

DJGPP does not output anything to the screen when streaming through cout
until it encounters a \n.  This is to save time when switching out of
protected mode to DOS.

-Shawn



- Raw text -


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