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: Ondra Cada <email@hidden>
- Date: Sat, 2 Jul 2005 02:19:20 +0200
Frederick,
On 2.7.2005, at 1:12, Frederick C. Lee wrote:
I read that C strings are null terminated whereas C++ strings are not.
Which leads me to ask, is there any difference between C++ and ObjC
strings?
ObjC as used in today's Cocoa (which is what is important here,
right?) does not use C strings (aka arrays of chars) at all (but for
compatibility with legacy code and other APIs). Instead, objects are
used (NSString instances). They are *completely* different from C/C++
strings.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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