C++
| OBJECTIVE C
|
C++ is a general purpose, middle level, object-oriented and procedural programming language. It was also known as "C with Classes". It is an extension of C programming language. | Objective-C is a general purpose, object-oriented programming language which adds syntax and semantics that allows for an object-oriented language and behaves like a superset of C programming language. |
In 1980, it was developed by Bjarne Stroustrup at bell laboratories. | In 1980, it was developed by Brad Cox and Tom Love at company Productivity Products International (PPI). |
It supports multiple inheritance. | It does not support multiple inheritance. |
In C++, Structs and classes are treated as same. | In Objective C, Structs and classes are not treated as same. |
In C++, to call the implemented functionalities, methods are used. | In Objective C, to call the implemented functionalities, messaging are used. |
It is static typed language. | It is dynamic typed language. |
It uses true, false and bool. | It uses YES and NO and BOOL. |
It has Standard Template Library. | It lacks template libraries. |
Companies using C++ are Evernote, LinkedIn, Opera, Microsoft, NASA, and Facebook etc. | Companies using Objective C are Uber, Pinterest, Instagram, Slack, Instacart etc. |
It is open source project 2.0 | It comes under GPL. |
It can run on operating systems like Windows, UNIX, Macintosh etc. | It is used by Apple in its operating systems. |
Calling a method is decided at compile-time. | Calling a method is decided at run-time. |