What is c++.

                  

C++notes


what is c++

Basic c++ is an objective-oriented programing language. It is a (++) version of C.  C++ use of allows> procedural programming for intensive functions of CPU and to provide control over hardware, and this language is very fast because of which it is widely used in developing different games or in gaming engines. C++ developing the suites of a game tool.

Features of c++ language

  • Simple
  • Powerful
  • Portable
  • Machine indipendent
  • Structure oriented
  • High level programing
Application of c++ language

  • developing game
  • operating system
  • compiler
  • database system
  • Editors
  • graphic package

syntax of c++


#include<iostream.h>
#include<conio.h>
Void main()
{
clrscr();
cout<<"hello word ";
getch();
}

#.                                                 
1.Iti called preprocessor.
2.It is include the library of c++ into the program before the exicution.

Include.                                      
To Include the header file into the program.

Iostream.                                   
  1. Its stands for input output stream.
  2. It is a collection of predefined function.
  3. It is also called library of c++.

Conio.                                          
  1. It is stands of console input output.
  2. It is used to show the output on console window.
Void.                                             

  1. It is a keyword.
  2. It indicate that no one value is begining  returned by the function.
  3. If we use any other keywords like int,char,float, double ,etc in place of void then we will use return keyword. 
Main.                                           
  1. It is the function which is called the entry point of any program.
  2. The exicution of any program start from the main function.
  3. If in a program there is only one function than it shoulb be main function.
Clrscr().                                      
  1. It is stands for clear screen.
  2. It is a predefine function which is use to clear screen. 
  3. Ita like a duster on output screen. 

cout.                                          
  1. It is a keyword which is use to print data or information on to the output screen.
  2. It is always use with insertion opretor.

 getch().                                      
  1. It is a predefined  function it is use to hold a output Screen.
  2. It act like a duster on output screen.
  3. It is defined as a conio.h header file.

Comments

Post a Comment

If you have any doubt. Please comment me know.

Popular posts from this blog

Function in C++ with example & declaration, initialization function in c++

Operators of c++

Array in c++ programming