My primary goal is to work on macintosh and iphone application development. I currently know basic C++ and I was wondering if I should move to Objective - C.
Just to clarify:
"Apple’s Objective-C compiler allows you to freely mix C++ and Objective-C code in the same source file. This Objective-C/C++ language hybrid is called Objective-C++. With it you can make use of existing C++ libraries from your Objective-C applications."
Just to clarify:
"Apple’s Objective-C compiler allows you to freely mix C++ and Objective-C code in the same source file. This Objective-C/C++ language hybrid is called Objective-C++. With it you can make use of existing C++ libraries from your Objective-C applications."
So you could make an Objective - C program out of only C++?
So you could make an Objective - C program out of only C++?
Objective-C supports objects by bolting on Smalltalk-like objects to the C language. It's a hybrid of the two languages, with C for procedural parts with Smalltalk-like object behaviour.
C++ extends C into a new language with static binding for objects.
The GNU Objective compiler doesn't just use C, someone thought it would be cool to allow C++ as it's no more complicated to implement (as they already had all the bits). So you can have this cool Objective-C++ thing.
But to answer the original question, you should learn Objective-C if you want to do any GUI work on those platforms.
I was looking through the Xcode project files, and the Carbon C++ project allows you to use all of the Xcode tools, interface builder, etc. On the Apple Developer site it doesn't say anything about apps having to be programmed in Objective - C, so would this work for developing apps?
hey OP...and everyone else for that matter, have you guys not heard of dragonfiresdk? windows iphone sdk? you can go ahead and use C++ and your windows comp. been using it and have seen some fun apps on the app store created by it. just a thought. and just so happens you can win it this week on modmyi (they are giving away 2 copies). hey there is a dragonfiresdk giveaway this week at http://modmyi.com/forums/iphone-news/719292-dragonfiresdk-windows-iphone-sdk-giveaway.html