// /*--------------------------------------------------------*\ // | Main Program: Traditional "Hello World" program // |*--------------------------------------------------------*| // | Date: 13 August 1996 // | Author: Bruce W. Weide // | // | Brief User's Manual: // | Outputs to the screen "Hello world" on a line by // | itself, and then quits. // | // \*--------------------------------------------------------*/ ///------------------------------------------------------------- /// Global Context --------------------------------------------- ///------------------------------------------------------------- #include "RESOLVE_Foundation.h" ///------------------------------------------------------------- /// Interface -------------------------------------------------- ///------------------------------------------------------------- program_body main () { object Character_OStream output; output.Open_External (""); output << "Hello world\n"; output.Close_External (); }