The first and most simples language of the computer programming is 'c' and 'c++' the c language is similar to c++ language in many ways.
In c++ most of the function are same as in 'c' language.
What is c++ ?
C++ is a general purpose programming language .It is use for creating program's and video games etc.
Derived from?
Generally , c++ is derived from c language and largely based on it.
Important steps ?
Basically,
"there are some basic rules and steps in c++ programming language. "
First:
There is a basic and most important header file use in c++ language .
Syntax:
#include<iostream>
Is used to input and output in the program.
Basically, "ostream" is use to take output e.g use "cout" system in the program.
And "istream" is used to input any data in the program e.g "cin"
Function.
Program:
#include
Using namespace std;
int main(){
int a;
cout<<"enter number"; cin>>a;
Cout<<"number"<< a;
return 0;
}
In this simple program header file "iostream" and "using namespace std" are must in every program created in c++ language.
"Cout is used with <<
and
cin is used with >> ."
you can give a command in the out put using " " double cotations .
You must write your command in this double cotations.
There are different keywords used in the c++ programming.
I show you this on the next page.
.......Thank you.......