• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: const char* to char*
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: const char* to char* (From: Jens Bauer <email@hidden>)
 >Re: const char* to char* (From: Nat! <email@hidden>)

  • Prev by Date: Re: MutableArrays losing its contents?
  • Next by Date: Re: Saving Strategy
  • Previous by thread: Re: const char* to char*
  • Next by thread: Re: const char* to char*
  • Index(es):
    • Date
    • Thread