Saturday, December 11, 2010

Our Ist Programm..

Now, that we have studied the basic of c++ language, lets write our first code..


#include<iostream>
using namespace std;
int main()
{
         cout<<"Hello World"<<endl;
}

This is out first programm, it displays Hello World on the screen.
";" semicolon indicates the end of the line
"endl" means next line
"cout" is used to display anything.

We will study them more as we go further.

No comments:

Post a Comment