delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Message-ID: | <003201c3090c$a1a77670$78d96f83@pomello> |
From: | "Max Bowsher" <maxb AT ukf DOT net> |
To: | <jdklekota AT aol DOT com>, <cygwin AT cygwin DOT com> |
References: | <41DC5F69 DOT 6896D2D6 DOT 030EE62D AT aol DOT com> |
Subject: | Re: Cygwin DLL 1.3.22-1 release Bug? string recognition |
Date: | Tue, 22 Apr 2003 21:20:35 +0100 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
jdklekota AT aol DOT com wrote: > I am having difficulty compiling code that uses the <string> library. It > appears that the Cygwin libraries do not recognize the string class at all > or its associated operators =,+=, etc. I installed all the features > included with this new version, games, graphics, etc. Did I install > something incorrectly or is there a bug in the string library? string is in the std namespace. Either do "using namespace std;", or refer to it as "std::string". This is not a Cygwin question. Your current code is not compliant with the C++ standard. Max. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |