delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/07/08:09:27

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: iostream
Date: Thu, 7 Dec 2006 13:08:31 -0000
Message-ID: <010401c71a00$cb73baf0$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <874973.68359.qm@web33010.mail.mud.yahoo.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 07 December 2006 13:02, Matthias Blaickner wrote:

> Hi everybody
> 
> I have problems with cygwin supporting iostream.h I
> use g++ as compiler and I'm told to remove the .h
> suffix from the header. doing so results in error
> messages about unknown functions.

  'cout' and 'endl' live in the std:: namespace these days.  Either add a
'using namespace std;' declaration or prefix each usage.

  This is a generic C++ programming question and would be better on a C++
coding mailing list, since it isn't specific to cygwin but would be exactly
the same with any C++ compiler on any platform.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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