Re: What's the difference between a C++ and ObjC String?
Re: What's the difference between a C++ and ObjC String?
- Subject: Re: What's the difference between a C++ and ObjC String?
- From: Steve Checkoway <email@hidden>
- Date: Sat, 2 Jul 2005 02:25:56 -0700
On Jul 1, 2005, at 7:59 PM, Frederick C. Lee wrote:
So I guess my question is, can I use the same NSString method to
convert a C-string and a C++ string, namely:
+ (id)stringWithUTF8String:(const char *)bytes?
string foo("foo");
NSString *bar = [NSString stringWithUTF8String:foo.c_str()];
- Steve
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden