Objective-C int to char

Posted by teepusink on Stack Overflow See other posts from Stack Overflow or by teepusink
Published on 2010-04-07T08:04:40Z Indexed on 2010/04/07 8:33 UTC
Read the original article Hit count: 452

Filed under:

Hi,

How do I convert an int to a char and also back from char to int?

e.g 12345 == abcde

Right now I have it using a whole bunch of case statement, wonder if there is a smarter way of doing that?

Thanks,
Tee

© Stack Overflow or respective owner

Related posts about objective-c