Cygwin DLL 1.3.22-1 release Bug? string recognition
Max Bowsher
maxb@ukf.net
Tue Apr 22 22:40:00 GMT 2003
jdklekota@aol.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/
More information about the Cygwin
mailing list