I want to know the difference between C ++ and Objective-C and Objective-c ++ Can we use C ++ for iPhone development
Thanks, Madan Mohan
C ++ Bjarne Stroustroup's language combines classes and combines CP with metaprogramming in such a way that the compiler performs a lot of extra work and doing the least possible effort on runtime Is.
Objective-Based on the link of Cad's language to a small task-style dynamic messaging-running library on C, syntax is also an addition to making it easy to use.
Objective-C ++ This is clearly, when you add Objective-Runtime and Syntax to C ++, then there are limitations on what you get (for example, you have C ++ Can not create an Object-A subclass, or vice versa, and Object-C does not like C ++ namespaces) but you get permission to use C ++ objects with Objective-C objects and vice versa.
You can use Objective-C ++ in iPhone development. Its practical meaning is that you can write an application whose object model was completely C ++, where the controller layer would need to have objective-interface to use the Cocoa Touch API.
Comments
Post a Comment