This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Cygwin DLL 1.3.22-1 release Bug? string recognition
- From: "Max Bowsher" <maxb at ukf dot net>
- To: <jdklekota at aol dot com>,<cygwin at cygwin dot com>
- Date: Tue, 22 Apr 2003 21:20:35 +0100
- Subject: Re: Cygwin DLL 1.3.22-1 release Bug? string recognition
- References: <41DC5F69.6896D2D6.030EE62D@aol.com>
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/