Start learning the C++ programming language today!
ScholarHat
Learn to build expertise in .NET, Java, Python, DSA, Node.js, Angular, React, Cloud, Microservices, Patterns and DevOps.
What is C++ language?
C++ is an objective-oriented programming language that is an extension of C programming. C++ is a "case-sensitive", "free-form" programming language. C++ is a mid-level programming language that encapsulates the features of both low-level and high-level languages, this is what is C++ language is.
History of C++ language
The history of C++ language is, the language was developed in the year 1980 by Bjarne Stroustrup at the bell laboratories of AT&T, which is located in the USA. Let's evaluate the time frame of the language-
LanguageYearDeveloped ByAlgol1960International GroupBCPL1967Martin RichardB1970Ken ThompsonTraditional C1972Dennis RitchieK & R C1978Kernighan & Dennis RitchieC++1980Bjarne Stroustrup
Features of C++ language
There are many features of C++ language, these features identifies What is C++ language, the features are:
1. Simple- C++ language is a very simple programming language that gives a structural approach to the program. It breaks the program into various parts and generates various data types and library functions.
2. Abstract data type- C++ has a very complex data type which is called Abstract Data Type (ADT). This data type is used for using class
3. Machine independent or portable- C++ language can be used in various platforms as it is a platform-independent language and only needs some machine-specific changes.
4. Mid-level programming language- C++ can work as a high-level language as well as a low-level language so it is called a Mid-level programming language.
5. Structured programming language- C++ is a Structured programming language so that users can break the program into parts by using functions.
领英推荐
6. Rich Library- C++ language has many inbuilt functions that help in development. There are some libraries that are used in C++ language, those are
7. Memory Management- In C++ language There are many Memory management operators that help to save memory and improve the program efficiency. These operators use the runtime method to allocate and deallocate the memory. Some memory management operators in C++ language are, "new", "delete" and many more.
8. Quick compilation- In C++ language The program runs quickly. That is why the compilation time and the execution time of the C++ language are faster than other languages.
9. Pointer- In C++ language Pointers are used for memory, structure, functions, and arrays. Programmers as well as users can directly interact with the memory by using the help of the pointer.
10. Recursion- C++ programming provides the feature of Recursion, in which a function can be called within a function. It generates the reusability of the code.
11. Extensible- C++ language can easily adopt any new feature so it is called an extensive programming language
12. Object-oriented- C++ supports object-oriented programming that includes the concept of Encapsulation, data abstraction, and data hiding. It can be done easily by using keywords such as private, public, and protected access specifiers. This feature in C makes maintenance and development easier.
13. Compiler-based- C++ language is a compiler-based programming language so no program in C++ cannot be done without compilation. Compilers for C++ are easily available in the market and take a little space to store.
14. Reusability- C++ programs can be reused because it supports the features of Inheritance so that any program can be used in different programs. A Programmer can save any part of the program in library files and can invoke them to the next program by adding the library files.
15. Errors can be detected easily- Errors can be detected easily because C++ language supports the features of exception handling to handle the error in the program.