• 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: how to convert int to char with objective c?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to convert int to char with objective c?


  • Subject: Re: how to convert int to char with objective c?
  • From: "Mark Aufflick" <email@hidden>
  • Date: Wed, 21 Nov 2007 11:30:58 +1100

Hi Amine,

Objective-C is a full superset of C, so you can just:

int i = 65; // A
char c;

c = (char)i;

Is that what you mean?

Mark.

On Nov 20, 2007 9:34 PM, amine ahmadi <email@hidden> wrote:
>
>
> Dear All,
>
>   I am looking for a source code that lets me convert
>   the Int type to Char type.
>
>  Thanks for your feedback.
>
>   Best regards,
>   Amine
>
>
>       _____________________________________________________________________________
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>



--
Mark Aufflick
  contact info at http://mark.aufflick.com/about/contact
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >how to convert int to char with objective c? (From: amine ahmadi <email@hidden>)

  • Prev by Date: Re: float[4][3] into NSValue
  • Next by Date: CoverFlow
  • Previous by thread: Re: how to convert int to char with objective c?
  • Next by thread: Writing optimized screeshot utility.
  • Index(es):
    • Date
    • Thread