How to Create Hello World! in C++

  1. #include <iostream>  
  2.   
  3. using namespace std;  
  4.   
  5. int main()  
  6. {  
  7.   
  8.    cout << "Hello World" ; // out put of C++  
  9.    cout << endl; // this is for new line   
  10.   
  11. // end of the main class, final save this file extension .cpp