Introduction of c++
- Bjarne Stroustrup of AT&T Bell Labs created C++ in the mid 1980s.
- C++ is an extension of the programming language C, a product of AT&T Bell Labs from the early 1970s.
- C was developed to write the Unix operating system, and C is widely used for systems-level software and embedded systems development
- C++’s close relationship to C allows C++ programs to utilize a large collection of code developed in C.
- As early as 1989 an ANSI Committee (American National Standards Institute) was founded to standardize the C++ programming language.
- The aim was to have as many compiler vendors and software developers as possible agree on a unified description of the language in order to avoid the confusion caused by a variety of dialects.
- In 1998 the ISO (International Organization for Standardization) approved a standard for C++ (ISO/IEC 14882).
Characteristics of C++ language
C++ is not a purely object-oriented language but a hybrid that contains the functionality of the C programming language. This means that you have all the features that are available in C:
- universally usable modular programs
- efficient, close to the machine programming
- portable programs for various platforms.
- C++ is designed as a bridge between the programmer and the raw computer.
- The idea is to let the programmer organize a program in a way that he or she can easily understand.
- The compiler then translates the language into something the machine can use.
- Computer programs consist of two main parts: data and instructions. The computer imposes little or no organization on these two parts.
- After all, computers are designed to be as general as possible. The idea is for the programmer to impose his or her own organization on the computer and not the other way around.