Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

armyguy26

macrumors member
Original poster
Apr 8, 2010
43
0
Hi Everybody,
How would you convert a C program to an Objective C program? Thanks.
 
Wirelessly posted (Mozilla/5.0 (iPod; U; CPU iPhone OS 3_1_3 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7E18 Safari/528.16)

armyguy26 said:
Objective-C is a superset of C. So, depending on what your code does, you may not need to do much conversion.


What type of conversions would you need to make?

What does the program do?
 
Wirelessly posted (Mozilla/5.0 (iPod; U; CPU iPhone OS 3_1_3 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7E18 Safari/528.16)



What does the program do?


One is a blackjack one and another one is a ask the nerd program.
 
You can't do CLI apps on the iPhone. You'd need to use UIKit and write a GUI.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.