Hello World!

1. Logon to the UNIX sytem.

2. Open an editor.

3. Type in the following file:

#include <iostream.h> //Library containing input/output commands

void main(void)

{ cout << "Hello World!\n\n";

}

4. To compile, type: g++ filename

5. If the program compiled successfully, you will see nothing. At the prompt type: a.out which will run the program.