This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: #include <string> problem with g++ in latest(?) version ofcygwin
- From: Steven O'Brien <steven dot obrien2 at ntlworld dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 8 Apr 2003 16:25:48 +0100
- Subject: Re: #include <string> problem with g++ in latest(?) version ofcygwin
Charles,
the class string is in the std namespace. If you use, for example,
std::string first = "this is the first test";
then the program compiles and runs correctly.
Regards,
Steven
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/