Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

How obj c is different from c++?

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, true and false, Objective-C uses BOOL, YES and NO.
More... 

0 comments:

Post a Comment