Question about Portability
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.)
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.)
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.
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
thanks for the replies, I have decided first to make a game in C++ then port it over.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| portability of C++, openGL, openAL... | WhatMeWorry | 2 | 2,900 |
Oct 21, 2004 12:03 PM Last Post: PowerMacX |
|

