How to write hello world in c++
Difference between en1 and en2, changed 50 character(s)
Write a Hello program in C++.↵
=================↵

#include <iostream>↵
using namespace std;↵

int main(){↵
  cout<<"hello world";↵
  return 0;↵
}↵



/*#include <iostream> is a header file library that helps with input and output objects in C++ language.↵

 Using namespace std use for the objects and variables from the standard library.↵
  ↵
*/↵

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English roshan22418 2024-04-27 13:15:07 83
en2 English roshan22418 2024-04-27 13:13:02 50 Tiny change: 'Write a Hello program in C++.\n=================\n\n#include' -> '\n#include'
en1 English roshan22418 2024-04-27 13:12:14 388 Initial revision (published)