Use Of CPP

Use Of CPP 

In this article we will see some of the termsused with a programming language and then we are going to see the advantages of learning the c++ and then we will see where exactly this C++ programming language is used in the real world. First let's take a look at some of the terms used with the programming language. So the first term is the general purpose programming language. “A general purpose programming language is a language designed to be used for writing the softwares in our wide variety of application domains” In simple words when we say a programming language as a general purpose programming language it means that we can use that programming language to create different variety of applications.

This c plus plus is also a general purpose programming language. It means you can use it for creating differentt ypes of softwares or the programs. Now the next thing is C++ is a middle level language. Programming languages is divided into three categories. lower level languages, high level languages and Middle level languages. Low level languages allow us to directly interact with the machine. The machine level code and assembly level language is come under the lower level language category and then we have the higher level languages where a programmer can easily write the program in a language which is almost similar to the human readable format. The high level languages offer a lot of built-infeatures. The programmer can use those features and easily write the programs.

Then category called as the middle level languages Where are some programming languages offer the features of the high level languages and also the features of the lower level languages. This C plus plus programming language comes in the category of the middle level languages. Here you know if a programming language belong to high level language or low level language or middle level language it doesn't really mean that that program language is good or bad.

Every programming language has its own pros and cons. Now the next thing is the compiled language. The thing is C plus plus in the middle level language and the code written using the C plus plus programming language is much closer to the human readable format. we can easily read the code and we can understand what exactly is going on. But the computers on the other hand only understand the code written in the form of zeros and ones in other words the machine code. So what we have to do is, first we have towrite the program in the C plus plus and then we have to convert that code to the machine level form.

We convert the code to the machine form and this process of converting the code using the compiler is called as the compilation method. since this uses the compilation method itis called as compiled language. Now the next thing is the object orientedprogramming language. C plus plus uses a new programming approach called as the object oriented programming approach. Since it uses this programming approach it is called as the object oriented programming language. 

In C plus plus we can do four types of programming. one is the procedural programming you know it is the way we program using the C programming language and other one is the object oriented programming and then we can can do the generic programming using their templates and then we have the functional programming. This functional programming is newly added to the C plus plus programming language. C plus plus is a general purpose middle level compiled object oriented programming language. 

All right now let's take a look at some ofthe advantages of learning the C plus plus programming language. so the first thing is C plus plus itself is a efficient language. The code written using the C plus plus programming language will run efficiently and also the code written using the C plus plus will bereliable and it will run fast. Now the next thing is if you learn the C plus plus programming language you will be learning this different programming approaches. so you will have the better understanding of the most of the programming approaches specifically the object oriented programming approach. 

Comments

Popular posts from this blog

Friend Function in C++

Data Member and Static Keyword in C++