syntax c++

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

Also in C++: