www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/11/24/06:17:30

Message-ID: <3BFF7DC2.9CA5C3F2@earthlink.net>
From: Martin Ambuhl <mambuhl AT earthlink DOT net>
Organization: Nocturnal Aviation
X-Mailer: Mozilla 4.77 [en] (Win95; U)
X-Accept-Language: en,de-CH,fr,ru,zh-CN,ja
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: REPOST: My <string> problem
References: <f7d9a152 DOT 0111231942 DOT 2e203d99 AT posting DOT google DOT com>
Lines: 16
Date: Sat, 24 Nov 2001 11:01:08 GMT
NNTP-Posting-Host: 165.247.42.19
X-Complaints-To: abuse AT earthlink DOT net
X-Trace: newsread1.prod.itd.earthlink.net 1006599668 165.247.42.19 (Sat, 24 Nov 2001 03:01:08 PST)
NNTP-Posting-Date: Sat, 24 Nov 2001 03:01:08 PST
X-Received-Date: Sat, 24 Nov 2001 02:56:53 PST (newsmaster1.prod.itd.earthlink.net)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Jason Hsu wrote:
> 
> Here is my C++ code:
> 
> #include <iostream.h>
           ^^^^^^^^^^^
  The C++ header is <iostream>

> #include <string>       // include for C++ standard string class

ADD:
  using namespace std;
(you could name each identifier from the std namespace you use, or
 prepend each with std::)

Your school compiler appears to accept non-standard C++.

- Raw text -


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