Here is the most basic piece of C++ code:
#include <iostream> using namespace std; int main(){ cout << "Hello World"; return 0; }