C++ is a high-performance, general-purpose programming language developed by Bjarne Stroustrup in the early 1980s. It is an extension of the C language and supports procedural, object-oriented, and generic programming paradigms.
Feature | C | C++ |
---|---|---|
Style | Procedural | Procedural + Object-Oriented |
Encapsulation | Manual | Built-in using classes |
Templates | Not supported | Supported |
Exception Handling | Not built-in | Built-in |
Namespaces | Not available | Available |