From: "John Harrison" Newsgroups: comp.os.msdos.djgpp,comp.lang.c++ References: 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: 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" 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 > #include > #include > #include > #include > using namespace std; > You should include the header file for istream_iterator and ostream_iterator. john