Thursday, 12 April 2012

Basic Hello World Program In C++

Basic Hello World Program In C++
Sample Output:

Code:
/* www.mycfiles.com - Basic Hello World Program In C++ */
#include<iostream.h>
#include<conio.h>
class Hello{
public :
void show(){


cout<<"Hello World I Am In C++";


}


};
void main(){
Hello h;            // The Object For Class hello Is "h"
h.show();         //This Is The Syntax To Create Object
getch();            //Class_Name Object_Name
}

Comment bellow for your Query and Feedback

No comments:

Post a Comment