*************************************************************************** * HELLO WORLD SAMPLE PROGRAM - Version 1: Readme File (README1.TXT) * * * * COPYRIGHT: Copyright(C) International Business Machines Corp.,1992,1993.* * * * DISCLAIMER OF WARRANTIES: * * The following [enclosed] code is sample code created by IBM * * Corporation. This sample code is not part of any standard IBM product* * and is provided to you solely for the purpose of assisting you in the * * development of your applications. The code is provided "AS IS", * * without warranty of any kind. IBM shall not be liable for any damages* * arising out of your use of the sample code, even if they have been * * advised of the possibility of such damages. * *-------------------------------------------------------------------------* * This is the first in a series (1-6) of Hello World Samples. * * Each sample gets more complex and it builds on the previous sample. * * See Hello World 6 (AHELLOW6.CPP) for a history of all the versions. * * * * C++ Hello World Version 1 Key Functions: * * - Creates and runs a simple application * * - Creates the main window (IFrameWindow) * * - Creates a static text control set to "Hello, World!" as the * * client window * * * *************************************************************************** *************************************************************************** * File list: * * README1.TXT - Readme file for HELLO1.EXE. * * AHELLOW1.CPP - Source code for the main() function * * AHELLOW1.DEF - Module definition file for HELLO1.EXE. * * AMAKE1.MAK - Make file to create HELLO1.EXE. * * AMAKE1.CMD - Command file to create HELLO1.EXE. * * BUILD1.CMD - Command file to compile, link and run HELLO1.EXE. * * CLEANUP1.CMD - Command file to clean up (erase) the following * * generated files: HELLO1.EXE, AHELLOW1.OBJ, * * AHELLOW1.MAP, and AHELLOW1.ERR. * * * *************************************************************************** *************************************************************************** * * * File Relationship Diagram (Files are in upper case letters; programs * * are in lower case letters.) * * * * AHELLOW1.CPP * * ³ * * ³ * * ³ * * ³ * * ³ * * icc -c * * º * * º * * º * * º * * AHELLOW1.OBJ * * º * * º * * AHELLOW1.DEF ÄÄÄ> icc /Tdp ... Ä> AHELLOW1.MAP * * ³ * * HELLO1.EXE * * * *************************************************************************** *************************************************************************** * ÉÍÍÍÍÍÍÍÍÍÍÍ» * * Window Parent Relationship Diagram: Diagram ºClass Name º * * Key: ºÄÄÄÄÄÄÄÄÄÄĺ * * IApplication::current().run() ºObject Nameº * * ³ ÈÍÍÍÍÍÍÍÍÍÍͼ * * ³ * * ÉÍÍÍÍÍÍÍÍÍÍÍÍ» * * ºIFrameWindowº * * ºÄÄÄÄÄÄÄÄÄÄÄĺ * * º mainWindow º * * ÈÍÍÍÍÍÍÍÍÍÍÍͼ * * ³ * * ³ * * ³ * * ³ * * ³ * * ³ * * ³ * * ÉÍÍÍÍÍÍÍÍÍÍÍ» * * ºIStaticTextº * * ºÄÄÄÄÄÄÄÄÄÄĺ * * º hello º * * ÈÍÍÍÍÍÍÍÍÍÍͼ * * (Client Window) * * * *************************************************************************** *************************************************************************** * The HELLO1.EXE Sample Application can be built in two ways: * * * * Option 1: Run BUILD1.CMD * * * * This option compiles, links, and executes HELLO1.EXE. It then * * cleans up all files created by BUILD1.CMD. * * * * Option 1: Run AMAKE1.CMD * * Run HELLO1.EXE * * Run CLEANUP1.CMD * * * * AMAKE1.CMD compiles and links HELLO1.EXE. * * CLEANUP1.CMD cleans up the files built by MAKE1.CMD. * ***************************************************************************