Re: string: No such file or directory.
Re: string: No such file or directory.
- Subject: Re: string: No such file or directory.
- From: David Leimbach <email@hidden>
- Date: Wed, 9 Feb 2005 10:13:11 -0800
On Wed, 9 Feb 2005 09:51:41 -0800, Mike Lazear <email@hidden> wrote:
>
> On Feb 9, 2005, at 9:27 AM, Brian O'Brien wrote:
>
> > I'm compiling my Cocoa application.
> >
> > In main.mm I include a header file. (for a c++ class)
> > It includes <string>
> >
> > however I get the error message:
> >
> > string: No such file or directory.
> >
> Try including <string.h>
>
The correct include for C++ strings is
#include <string>
it will give you string in namespace std.
std::string;
No such file or directory makes me think the search path isn't correct
for C++ includes somehow.
Dave
> Mike
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden