Re: how to convert int to char with objective c?
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