Monday, 3 December 2012

C++ programming basics

C++ programming basics are as under

starts with header file

#include<>

and include means to attach some thing what the location of what?

#include<iostream.h>

give the compiler a reference to istream file that's it

--------------------------------------------------------------------------------------

#include<iostream.h>

#include<conio.h>


you are thinking what is conio?


conio.h is that header file to give the compiler a instruction that to control the input and output of the sources in the code.


void main(){ }
structure body of c++ where the program create and develop its logic which is understanded by compiler and excute it


just like that


#include<iostream.h>


#include<conio.h>


void main()
{
cout<<"hello";
 }




compiler just show hello as output


i hope you like my c++ basic tutorial


for more visit my facebook id: www.facebook.com/umf01