| Share this post! | Vote this! |
|
Here are the major difference between C++ and Obj C:
- C++ allows multiple inheritance, Objective-C doesn’t.
- Unlike C++, Objective-C allows method parameters to be named and the method signature includes only the names and types of the parameters and return type (see bbum’s and Chuck’s comments below). In comparison, a C++ member function signature contains the function name as well as just the types of the parameters/return (without their names).
- C++ uses
bool,trueandfalse, Objective-C usesBOOL,YESandNO.




0 comments:
Post a Comment