Hello World! in C++

#include <iostream>

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

The above code can be run for example in Eclipse IDE for C/C++ Developers or Xcode.