Question about Portability

Nibbie
Posts: 2
Joined: 2009.03
Post: #1
first and foremost, I am looking to program for the iphone/touch.

I have been running through "Beginning iphone development: exploring the iphone SDK" for some time now and have a good grasp on things.

I have learned from this forum that I must program in C if I were to make simple games?

what about c++? obj-c?

can I program a game in C++ and port it to obj-c? or c? ( i have a good grasp on C++, its the only language I learned.)
Quote this message in a reply
Moderator
Posts: 3,579
Joined: 2003.06
Post: #2
You can use Obj-C and C++ too. Obj-C has a small messaging overhead but it's plenty speedy enough for 99% of things. Some of us here do not like to use C++ because it makes an unnecessary mess of things, but using it is entirely up to you.
Quote this message in a reply
Member
Posts: 338
Joined: 2004.07
Post: #3
Yeah, you can choose to compile in Objective C++, which lets you mix and match the two languages very freely. I'm definitely digging on the things that Obj-C gives me but it was also such a relief to be able to just bring all my old C++ code over.

Justin Ficarrotta
http://www.justinfic.com
"It is better to be The Man than to work for The Man." - Alexander Seropian
Quote this message in a reply
Nibbie
Posts: 2
Joined: 2009.03
Post: #4
thanks for the replies, I have decided first to make a game in C++ then port it over.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  portability of C++, openGL, openAL... WhatMeWorry 2 3,121 Oct 21, 2004 12:03 PM
Last Post: PowerMacX