how to print cpp

C++
#include <iostream>
using namespace std;

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

Also in C++: