C++ Syntax

C++
#include<iostream>
using namespace std;
int main()
{
	system("pause"); //To pause the screen
  	return 0; //Not neccessary
}#include <iostream>

int main() {
  std::cout << "Hello World!";
  return 0;
}
Source

Also in C++: