www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/09/08:50:29

Message-ID: <3734FDEA.484A@ns.sympatico.ca>
From: Klaas <klaas AT ns DOT sympatico DOT ca>
X-Mailer: Mozilla 3.04 (Win95; I)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: stream question
References: <926196823 DOT 140 DOT 94 AT news DOT remarQ DOT com>
Lines: 13
Date: Sun, 09 May 1999 00:15:54 -0300
NNTP-Posting-Host: 142.177.61.8
X-Trace: sapphire.mtt.net 926220062 142.177.61.8 (Sun, 09 May 1999 00:21:02 ADT)
NNTP-Posting-Date: Sun, 09 May 1999 00:21:02 ADT
Organization: Sympatico-Subscriber
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Shaggs wrote:
> 
> 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?

don't you need main()?

- Raw text -


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