What is C++?
C++ is a type of computer programming language. Created in 1983 by Bjarne Stroustrup, C++ was designed to serve as an enhanced version of the C programming language. C++ is object oriented and is considered a high level language. However, it features low level facilities. C++ is one of the most commonly used programming languages.
The development of C++ actually began four years before its release, in 1979. It did not start out with the name C++; its first name was C with Classes. In the late part of 1983, C with Classes was first used for AT&T’s internal programming needs. Its name was changed to C++ later in the same year. C++ was not released commercially until the late part of 1985.
Developed at Bell Labs, C++ enhanced the C programming language in a variety of ways. Among the features of C++ are classes, virtual functions, templates, and operator overloading. The C++ language also counts multiple inheritance and exception handling among its many features. C++ introduced the use of declarations as statements and includes more type checking than is available with the C programming language.
Considered a superset of the C programming language, C++ maintains a variety of features that are included within its predecessor. As such, C programs are generally able to run successfully in C++ compilers. However, there are some issues that may cause C code to perform differently in C++ compilers. In fact, it is possible for some C code to be incompatible in C++.
The C++ computer programming language was created for UNIX, providing programmers with the advantage of being able to modify code without actually changing it; C++ code is reusable. Also, library creation is cleaner in C++. The C++ programming language is considered portable and does not require the use of a specific piece of hardware or just one operating system.
Another important feature of C++ is the use of classes. Classes help programmers with the organization of their code. They can also be beneficial in helping programmers to avoid mistakes. However, there are times when mistakes do slip through. When this happens, classes can be instrumental in finding bugs and correcting them.
The original C++ compiler, called Cfront, was written in the C++ programming language. C++ compilation is considered efficient and fast. Its speed can be attributed to it high-level features in conjunction with its low-level components. When compared to other computer programming languages, C++ can be viewed as quite short. This is due to the fact that C++ leans towards the use of special characters instead of keywords.
Entry filed under: Technology News. Tags: .