From: Andris Organization: Pavenis To: djgpp AT delorie DOT com, "hjy" Subject: Re: ostream_iterator undeclared in namespace 'std' Date: Mon, 7 Oct 2002 12:51:03 +0300 User-Agent: KMail/1.4.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Message-Id: <200210071251.03268.pavenis@lanet.lv> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g979pDR12021 Reply-To: djgpp AT delorie DOT com On Monday 07 October 2002 09:59, hjy wrote: > I use declaration > std::ostream_iterator output(cout," "); > in C++ program, the compiler complained: > ostream_iterator undeclared > > The same declaration is OK in Visual C++. > > What is the problem? Try #include