| 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 |
| Date: | Tue, 8 Apr 2003 16:25:48 +0100 |
| From: | "Steven O'Brien" <steven DOT obrien2 AT ntlworld DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: #include <string> problem with g++ in latest(?) version of |
| cygwin | |
| Message-Id: | <20030408162548.116261b4.steven.obrien2@ntlworld.com> |
| Mime-Version: | 1.0 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |