Hi welcome to the second tutorial on C++ programming language. In the previous post we have seen what exactlyis C plus plus, we have seen when it was created, why it was created, you know we have seenthe history of the C++ programming language.
In this post we will see some of the termsused with a programming language and then we are going to see the advantages of learningthe c++ and then we will see where exactly this C++ programming language is used in thereal world.
First let’s take a look at some of the termsused with the programming language. so the first term is the general purpose programminglanguage. “A general purpose programming languageis a language designed to be used for writing the softwares in our wide variety of applicationdomains” In simple words when we say a programminglanguage as a general purpose programming language it means that we can use that programming language to create different variety of applications.
This cplusplus is also a general purpose programminglanguage. it means you can use it for creating differenttypes of softwares or the programs. Now the next thing is C++ is a middle levellanguage. We have divided the programming languagesin three categories.
lower level languages, high level languagesand Middle level languages. Low level languages allow us to directly interactwith the machine.
The machine level code and assembly levellanguage is come under the lower level language category and then we have the higher levellanguages where a programmer can easily write the program in a language which is almostsimilar to the human readable format. The high level languages offer a lot of built-infeatures.
The programmer can use those features andeasily write the programs. Then we have another category called as themiddle level languages Where are some programming languages offer the features of the high levellanguages and also the features of the lower level languages.
This C plus plus programming language comesin the category of the middle level languages. Here you know if a programming language belongto high level language or low level language or middle level language it doesn’t reallymean that that program language is good or bad.
Every programming language has its own prosand cons. now the next thing is the compiled language. The thing is C plus plus in the middle levellanguage and the code written using the C plus plus programming language is much closerto the human readable format.
we can easily read the code and we can understandwhat exactly is going on. But the computers on the other hand only understandthe 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 machinelevel form. Here we use the compiler to convert the codeto 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. we have talked about this in the previousvideo also.
C plus plus uses a new programming approachcalled as the object oriented programming approach. since it uses this programming approach itis called as the object oriented programming language.
In C plus plus we can do four types of programming. one is the procedural programming you knowit is the way we program using the C programming language and other one is the object oriented programmingand then we can can do the generic programming using their templates and then we have thefunctional programming.
This functional programming is newly addedto the C plus plus programming language. C plus plus is a general purpose middle levelcompiled 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 isa efficient language. The code written using the C plus plus programminglanguage 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 plusplus programming language you will be learning this different programming approaches.
so you will have the better understandingof the most of the programming approaches specifically the object oriented programmingapproach.
you will be learning the concepts like theclasses objects inheritance polymorphism all these things and I think cplusplus is oneof the best language to learn this object oriented programming approach.
so the advantage of this is once you learnthis cplusplus then if you want to move to some other languages like in Java or C Sharpthen it will be a lot more easy because this Java and C Sharp they also use the objectoriented programming approach.
so you will find it easy to learn those languages. All right. now finally left that look at where exactlythis C plus plus programming language is widely used. As we have seen before cplusplus is a generalpurpose programming language.
so it means that it can be used to createdifferent variety of applications. cplusplus is widely used for creating thegames. most of the games you see nowadays have majorityof the code written using the c plusplus.
then it is used for creating the graphicaluser interface based applications you know you can use it where the user can interactwith the computer using the buttons in menus and all those in those kind of applications also you can use the c++ and then c plusplus is also used in the image editing softwares like the Adobe Photoshop Adobe Illustrator image ready and C plus plus is also used for creating the web browsers for example the Mozilla Firefox has the most of the code writtenin the C plus plus, and then C plus plus is also used for creating the compilers and thencplusplus is also used for writing the major parts of the operating systems like osx orthe windows, and c++ is also used for medical and Engineering applications you know youguys may have seen that some of the simulation softwares and also some softwares used inthe medical field are written using the C plus plus. Another area where C plus plus is widely usedis for creating or writing the other programming languages.
For example the Java programming languageis written used in the C plus plus programming language. So this is it guys this is about some informationon some of the programming terms used with C plus plus and also some information on theadvantages of learning C++ and where this c++ is widely used in the real world.
Now if you don’t have the proper understandingof the concept like the programming languages the types of programming languages and thecompilation method, the integration method then I have a post.