Introduction To C++, History and Features

In this post we will briefly discuss on the following topics of one of the most popular high level programming language C++. We will cover all topics of C++ on this series so stay tuned with us if you are willing to get adequate knowledge in C++.

  • The Need of C++
  • Features of C++
  • History of C++

The need of C++

1. C ++ is the most portable high level programming language and is usually the preferred language for most devices, a multi-platform application development.

2. C ++ is an object-oriented programming language and incorporates concepts such as classes, inheritance,  data abstraction, better memory management, polymorphism and encapsulation that allows code reuse and makes programs more secure.

3. C ++ uses a multi-paradigm system. Paradigm refers to the style of programming related to logics, structure, and process. C ++ is a multi-paradigm which means it follows three paradigms Generic, Imperative, Object Oriented.

4. It is useful for a low level system and works well for the general purpose.

5. C ++ gives the user complete control over memory management. This can be seen as both positive and negative as this increases the user's responsibility to manage memory rather than being managed by the garbage collector.

6. Wide range of applications: From GUI applications to 3D game graphics to real-time statistical simulations, C ++ is everywhere.

7. C ++ has a large community around it. The size of the community is important, because the larger the planning community, the more support you can get. 

8. C ++ has a very large job market as it is used in various industries such as finance, app development, game development, virtual reality, etc.

9. The great power of C ++ is how measurable it is, so apps that use the resource intensive most often are built with it. As a mathematical written language, C ++ is often more effective than duplicate languages ​​because the code is tested before it is used.

10. Compatibility with C: C ++ is compatible with C and almost every valid C system is a valid C ++ system.

Features of C++

Following are the features of C++:
  1. Namespace
  2. Inheritance
  3. Polymorphism
  4. Template and Standard Template Library
  5. Exception Handling
  6. Simple
  7. Portability
  8. Powerful
  9. Platform dependent
  10. Case sensitive
  11. Compiler based
  12. Syntax based language
  13. Use of Pointers

History of C++

C ++ is an object-oriented programming language. It was founded by Bjarne Stroustrup at AT&T Bell Laboratories in Murray Hill, New Jersey, USA, in the early 1980's.

→ Stroustrup, who favors Simula67 and is a strong supporter of C, wanted to combine the best in both languages ​​and build a more powerful language that can support the editing elements of the object and continue to maintain the strength and beauty of the C. The result was C ++. Therefore, C ++ is an extension of C with a great addition to the Simula67 class building feature.

→ Since the class was a great addition to the first language C, Stroustrup initially called the new language ‘C classes’. Later, however, in 1983, the name was changed to C ++. The C ++ concept comes from the C increment ++ operator, thus suggesting that C ++ is an improved version of C.

→ C ++ is the top set of C. Almost all c programs are also C ++ programs. However, there is a small difference that will prevent the c system from operating under the C ++ complier. We will see this difference later in life.

→ The most important resources C ++ adds to C-care classes, asset, overload and user overload. These features enable the creation of abstract data types, such as legacy structures from existing data types and support polymorphism, thereby making C ++ a truly object-oriented language.

In the following post we will briefly discuss syntax, keywords, tokens and other important C ++ topics.

C++ is very much similar to C. Yet there are some difference between them. In the next tutorial we will see them. Click here to read all of them.