About C++ History

Hi everyone, inside this article we will see about C++ History.

History of C++

C++ was developed in the early 1980s by Bjarne Stroustrup at Bell Labs in Murray Hill, New Jersey, as an extension to the C programming language. Stroustrup was motivated to add object-oriented features to C because he found that C was lacking in abstraction and encapsulation, which are key concepts in object-oriented programming.

The first version of C++, known as “C with Classes,” was released in 1983. In 1985, C++ was renamed to its current name, and the first commercial implementation was released in 1986.

Over the years, C++ has evolved and grown, with several updates to the standard library and language features. The most recent version of the standard, C++20, was published in 2020 and introduced new features for better performance and easier programming, such as modules, etc.

Today, C++ is widely used in a variety of applications, ranging from system software to games and scientific simulations. It is considered one of the most powerful and versatile programming languages, and it continues to be widely adopted and used by developers all over the world.

Difference between C and C++

C and C++ are both general-purpose programming languages, but they have some important differences:

  • Object-Oriented: C++ supports object-oriented programming, while C does not. C++ allows for the creation of objects, classes, and other OOP features.
  • Standard Template Library (STL): C++ has a standard template library that provides a wide range of data structures, algorithms, and other features, while C does not.
  • Operator Overloading: C++ allows operators to be overloaded, allowing them to have different meanings based on the context in which they are used, while C does not.
  • Function Overloading: C++ supports function overloading, allowing multiple functions with the same name to be defined, but with different parameters, while C does not.
  • Exception Handling: C++ supports exception handling, allowing errors to be handled in a controlled manner, while C does not.
  • Syntax: C++ has a more advanced syntax, with features such as classes, namespaces, and inline functions, while C has a more basic syntax.

Despite these differences, C and C++ have a lot in common, and many C programs can be easily converted to C++. C++ is considered an extension of C, and it is fully compatible with C, meaning that C programs can be included and used within C++ programs.

Online Web Tutor invites you to try Skillshike! Learn CakePHP, Laravel, CodeIgniter, Node Js, MySQL, Authentication, RESTful Web Services, etc into a depth level. Master the Coding Skills to Become an Expert in PHP Web Development. So, Search your favourite course and enroll now.

If you liked this article, then please subscribe to our YouTube Channel for PHP & it’s framework, WordPress, Node Js video tutorials. You can also find us on Twitter and Facebook.