OpenVMS Source Code Demos

HELLO_WORLD

//==============================================================================
// title  : hello_world.cpp (".cxx" is more common on OpenVMS)
// author : Neil Rieck (Waterloo, Ontario, Canada)
// created: 2013.05.29
// build  : openvms compile:	$ cxx     program.cpp
//          openvms link:	$ cxxlink program
//==============================================================================
#include <iostream>
using namespace std;

int main()
{
  cout << "HEY, you, I'm alive! Oh, and Hello World!\n";
  cout << "(hit <enter> to continue...) ";
  cin.get();
  cout << "Adios...\n";
}