From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13904 invoked by alias); 6 Aug 2005 15:49:26 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 13897 invoked by uid 22791); 6 Aug 2005 15:49:24 -0000 Received: from wbm3.pair.net (HELO wbm3.pair.net) (209.68.3.66) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Sat, 06 Aug 2005 15:49:24 +0000 Received: (qmail 16815 invoked by uid 65534); 6 Aug 2005 15:49:23 -0000 Received: from 24.126.76.52 ([24.126.76.52]) (SquirrelMail authenticated user dank@kegel.com) by webmail3.pair.com with HTTP; Sat, 6 Aug 2005 11:49:23 -0400 (EDT) Message-ID: <1243.24.126.76.52.1123343363.squirrel@webmail3.pair.com> Date: Sat, 06 Aug 2005 15:49:00 -0000 Subject: re: GCC 4.0.1 - iostream: No such file or dir.... From: dank@kegel.com To: gcc@gcc.gnu.org Cc: cgarrett@degarrah.com User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2005-08/txt/msg00205.txt.bz2 Chris Garrett wrote: > main.cpp:5: error: 'cout' was not declared in this scope This question should have been sent to gcc-help, not here. But as long as I'm answering: It's std::cout now, according to the C++ standard. If you want to compile old code that wasn't aware of std, you can stick using namespace std; at the top.