Skip to main content

First language of programming:

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.......
          
       

 

Popular posts from this blog

Programming:

    Programming is the way to " instruct the computer to perform various tasks". Different  languages  of programming. There are many different  and various languages has been created to perform different  computer tasks. These are: C C++ C# Python Java Ruby Etc.  C and c++ is the simplest languages of the computer programming. Creators: The creator the c++ language  is bjorne stroustrup. The c language was created by Dennis Ritchie. And many other creators create other languages. Cpp coding: In cpp coding there are many header files used in the programing. This is the basic language of programming ,same as c is the basic language. These header files are given below just for your knowledge .some header files are given #include<iostream>   This header file are use just to input and output. Such as in cpp For input we use cin.  Where cin means input take from the user. And cout , Where cout means output or result of your coding. Ther...