Features of C++
Some important features of C++ are as follows :
- Convenient
- Well-Structured Language
- Case Sensitive
- Machine Independence
- Object Oriented
- Module Programming
- Standard Libraries
- Hardware Control
- Brevity
- Speed
- Popular Language
- C Compatibility
Convenient language:
C++ is very convenient language. It provide many facilities in easier way that are difficult to use in low-level language. Programmers can write complex code more easily as compared to low-level language.Well-Structured Language:
C++ is a well structured language.It syntax is very easy to understand. The program written in C++ are easy to maintain and modify.Case-Sensitive:
C++ is case-sensitive language. It means that it can differentiate upper and lower case words. All keywords of language are written in lower-case.This feature makes it easy to maintains the source code.Machine Independence:
C++ language provides machine independence. It means that program written in C++ language can be executed on different types of operating system (Windows, Linux, Mac etc). It is preferable to write C++ code rather than machine language code.Object-Oriented:
C++ is an object-oriented language. In OOP techniques programs are written on the basics of objects. An object is a collection of data members and member functions. Object-oriented programs are easy to learn, update and maintain.Modular Programming:
C++ language provide the facility of modular programming. It means that programs are divided into small modules.These modules can be easily developed and compiled independently and then linked together.Standard Libraries:
The Standard C++ library is a set of functions, constants, classes and objects to extend C++ language. It provides the basic functionality to interact with operating system. These libraries can be reused by any programmer for writing programs more easily in less time.
C++ is a small language. It has a small number of keywords and programming controls. But still it is every powerful for developing different types of programs. The program written in C++ is very short as compared with other languages.Hardware Control:
C++ language provides close control on hardware. The programmer can efficiently program to control hardware component of the operating system.Brevity:
Speed:
C++ compiler generate very fast code. The resulting code from a C++ compilation is very efficient. This code execute very efficiently. So the program take less time to execute.
Popular Language:
C++ is a very widely used programming language. There are many tools available for C++ programming.
C Compatibility:
C++ is backward compatible with C language. Any code written in C can easily included in C++ program without hardly making any change.
No comments:
Post a Comment
If you have any doubt please let me know