Introduction to C++ Programming

In Software Development


Introduction to C++ Programming - read the full article about C++ 2021, Software Development and from Neso Academy on Qualified.One
alt
Neso Academy
Youtube Blogger
alt

[Music] hello everyone and welcome to this new course where we are going to study about the c plus plus programming language so if you are a person who wants to learn c plus plus programming as a part of your curriculum or even if you are a person who just wants to learn the c programming language either way this course is for you so here we will start from scratch we will start with the basics and build up to the fundamentals of this c plus plus programming language with the intention to make you a good c plus plus programmer so in this lecture we are going to just see the basic introduction to c plus we will see what is this c plus plus language who designed it when was it designed and we will see the key features of this language and we will see what are the main things that we are going to cover in this course so once again welcome to this course where we are going to learn about this wonderful language c plus all right so lets get started so coming to the introduction to c plus plus c plus plus is a general purpose programming language now what do we mean by general purpose programming language so general purpose programming language means it is a language that can be used for general purpose that means it can be used for writing softwares in different domains it can be used for writing softwares for different applications and different domains so that is why we call it a general purpose programming language now c plus plus was designed and implemented by the danish computer scientist bianes trustrop in 1979 at the bell labs so this is the amazing person who have designed and implemented the c plus plus programming language so you may have some idea about the c programming language you must have heard at least about the c programming language now c plus plus is actually an extension of the c programming language with more features and is more powerful than the c programming language so we will see the differences between c and c plus plus and we will see the more powerful features that are there in the c plus plus programming language as we move ahead in this course now c plus plus runs on a variety of platforms such as windows mac os and the various versions of unix so we see that c plus plus is supported on most of the major platforms that we have like windows mac and unix so we can use it for a wide variety of applications for writing different softwares that can be used in different domains okay now this is just a basic introduction to c plus plus so we see that it is a general purpose programming language and we see who is a scientist who designed and implemented it now before we move ahead here is a fun fact for you the initial version of c plus plus was called c with classes so as i already said c plus plus is an extension of c so we first had the c language and c plus plus was designed to have more features as compared to c now one of the major features that is there in c plus and not in c is the concept of classes now because of that before the term c plus plus was coined the name given to c plus plus was actually c with classes so that was the first name that was given and later on they decided to call it c plus plus all right so that is about the basic introduction to c plus plus along with a small fun fact for you all right so as i just said c plus plus is an extension of c so let us talk a little more about that so talking about c plus plus as an extension of c c plus plus is actually a better c so as i already said c plus plus has more features and is more powerful as compared to c so we can say that it is a better c and it supports data abstraction it supports object oriented programming and it supports generic programming so if you are a person who is new to programming then these terms may sound new to you and you may not understand it at the moment so dont worry about it we are going to make everything clear as we move ahead in this course so for now we are not going to explain or go into the details of these terms but just know that c plus plus supports all these features that we have listed here so that is why we say that it is a better c and it is more powerful as compared to the c programming language okay so now let us take an example from the c language so here i am taking a small example from the c language so some of you may already know the c language and even if you dont know no problem at all so in this example let i be an integer variable whose value is equal to 6. now again if you are new to programming you may not understand the meaning of this term variable and what do we mean by i is an integer and all that so its totally fine for now just understand that we are having a variable now what is a variable variable is something that can hold a value so just think of variable as something that can hold a value now i is a variable which is an integer now integer means the same kind of integer that we have in mathematics so i is a variable that can hold an integer value so thats what we mean here and what is the value the value is equal to 6 so that means i is equal to 6 now i plus plus will increment the value by one now this plus plus if you put this plus symbol two times after this i that signifies an increment operator in c now what is an increment operator the increment operator will increase the value by 1. so i plus plus is an increment operator and it will increase the value and make i is equal to 7 because the previous value of i was equal to 6 so 6 plus 1 equal to 7 so that is what the increment operator or this plus plus operator does now why are we discussing this we are discussing this because i want to emphasize the fact that the term c plus plus was coined because of this particular reason so we saw that plus plus is an increment operator and because of that c plus plus was chosen to denote it being the next or the successor or increment of the c programming language so we said that c plus plus is an extension of c and the name c plus plus was chosen in order to denote that it is the next or the successor or an increment of the c programming language so that is why i wanted to discuss this small example to tell you why this plus plus is there after this c making it c plus plus okay so now lets discuss the prerequisites that we need to know before learning the c programming language all right so coming to the prerequisites let us ask ourselves some few questions do i need to have prior knowledge of c to learn c plus plus so in the previous slide we have just seen that c plus plus is actually an extension of c so do you need to have any prior knowledge of c in order to learn c plus plus the answer is no you dont need to no c to learn c plus so if you already know c that is well and good but even if you dont know it it is totally fine because c plus plus in itself is a complete programming language and we are going to start from scratch and discuss everything right from the basics so you dont need to have any prior knowledge of c in order to learn c plus and then do i need to know any other programming languages before learning c plus plus so apart from c is there any other programming languages that you need to know before learning c plus plus again the answer is no you dont need to know any other programming languages before learning c so if you have chosen c plus plus as your first programming language it is totally fine because we are going to learn everything as i said from scratch so we will start from the basics and cover each and everything that is required in order to learn this language so again if this is your first programming language you have made a good choice in choosing this as your first programming language so we see that basically there are no prerequisites in order to learn c plus plus you can just learn it from whatever position that you are right now okay now lets take a look at the syllabus okay so coming to the syllabus we will see what are the main things that we are going to discuss in this course okay so here are the list of the basic topics that we are going to discuss in this course so first of all we will see the introduction so this lecture is also a part of the introduction and we will see some more basic things that we need to learn before we get into the details of c plus plus so that will be discussed in the introduction and then we will study about the variables and basic types so dont worry about these terms that are written here if you are new to programming it will all become clear as we move ahead so just know that we are going to discuss these things so after variables and basic types we are going to discuss about strings vectors and arrays then we will see the different kind of expressions that we have then the different kind of statements that we have and then we will study about functions and then we will also study about classes so we see that classes as we already saw in the first slide is one of the features that is there in c plus plus which was not there in c so this is an important feature of c plus which we need to study and this is also a topic that will make us ready to learn the object-oriented programming approach so after classes we will see the input output library then we will study about the overloaded operations and conversions and we will also study about the object oriented programming so as i said dont worry even if this topics seem alien to you at the moment if you are new to programming we are going to study and make everything clear in this course so basically these are the main things that are going to be covered in this course now coming to the target audience who are the target audience for this course so you may already have an idea because i said about this in the first slide itself so first of all anyone who is having c plus plus as a part of their university or college curriculum youre welcome to learn using this course and then anyone who wants to learn the c plus plus programming language so if you are just a casual learner or if you want to learn the details of this programming language or if you want to even just brush up some concepts this course is for you so basically anyone who wants to learn the c plus programming language can make use of this course all right so that was about the basic introduction to c plus plus i hope you got an idea of what is c plus plus programming language how it is an extension of c and what are the things that we are going to study in this course and who are the target audience so i hope we will have a wonderful journey in learning and teaching this course together so i hope this introductory lecture is clear to you thank you for watching and see you in the next one

Neso Academy: Introduction to C++ Programming - Software Development