delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/01/14/14:31:11

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Martin Ambuhl <mambuhl AT earthlink DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031208
X-Accept-Language: en-us, en, de, fr, ru, el, zh
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: errors
References: <505545170 DOT 20040114111338 AT surfeu DOT fi>
In-Reply-To: <505545170.20040114111338@surfeu.fi>
Lines: 22
Message-ID: <SCgNb.8179$i4.7508@newsread1.news.atl.earthlink.net>
Date: Wed, 14 Jan 2004 19:19:14 GMT
NNTP-Posting-Host: 65.178.17.164
X-Complaints-To: abuse AT earthlink DOT net
X-Trace: newsread1.news.atl.earthlink.net 1074107954 65.178.17.164 (Wed, 14 Jan 2004 11:19:14 PST)
NNTP-Posting-Date: Wed, 14 Jan 2004 11:19:14 PST
Organization: EarthLink Inc. -- http://www.EarthLink.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Prior wrote:


> #include <iostream.h>

<iostream.h> is not the name of a header in either C++ or C.  You want 
<iostream>.  There has never been an <iostream.h> in the standards for 
either language.

> 
> int main()
> {
> cout << "dsfdsf";

cout is in the std:: namespace.  Say so.

> return 0;
> }


-- 
Martin Ambuhl

- Raw text -


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