Re: const char* to char*
Re: const char* to char*
- Subject: Re: const char* to char*
- From: Finlay Dobbie <email@hidden>
- Date: Thu, 27 Nov 2003 23:35:12 +0000
On 27 Nov 2003, at 23:09, Nat! wrote:
s = (char *) [theName cString];
it costs nothing and keeps the compiler quiet. I try to avoid going
down the "const" road :)
But it's not a char *, it's a const char *. Be careful not to try treat
it as one, it won't work.
-- Finlay
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.