delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/08/10/08:30:08

From: "John Harrison" <jahhaj DOT spam AT spam DOT ntlworld DOT com>
Newsgroups: comp.os.msdos.djgpp,comp.lang.c++
References: <aj2vjj$178ktl$1 AT ID-79865 DOT news DOT dfncis DOT de>
Subject: Re: istream_iterator, ostream_iterator and gcc/gpp-3.1
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <Nz759.1526$id3.59789@newsfep2-win.server.ntli.net>
Date: Sat, 10 Aug 2002 13:27:20 +0100
NNTP-Posting-Host: 213.104.60.124
X-Complaints-To: abuse AT ntlworld DOT com
X-Trace: newsfep2-win.server.ntli.net 1028982125 213.104.60.124 (Sat, 10 Aug 2002 13:22:05 BST)
NNTP-Posting-Date: Sat, 10 Aug 2002 13:22:05 BST
Organization: ntlworld News Service
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Alex Vinokur" <alexvn AT bigfoot DOT com> wrote in message
news:aj2vjj$178ktl$1 AT ID-79865 DOT news DOT dfncis DOT de...
> ============
> Windows 2000
> DJGPP 2.03
> gcc/gpp 3.1
> ============
>
>
> The code below has no problem with gcc/gpp 3.0.4.
>
> However it does have a problem with gcc/gpp 3.1.
>
> What has been changed concerning istream_iterator and ostream_iterator ?
>
> ######### C++ code : BEGIN #########
> // File t1.cpp
>
> #include <string>
> #include <vector>
> #include <sstream>
> #include <iostream>
> #include <fstream>
> using namespace std;
>

You should include the header file <iterator> for istream_iterator and
ostream_iterator.

john



- Raw text -


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