home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
cset21v1.zip
/
IBMCPP
/
SAMPLES
/
ICLUI
/
HELLO1
/
README1.TXT
< prev
Wrap
Text File
|
1993-10-18
|
7KB
|
101 lines
***************************************************************************
* 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 the User Interface Class Library Users Guide for more information *
* about this sample program. *
* *
* 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 in uppercase, Programs in lowercase) *
* *
* AHELLOW1.CPP *
* │ *
* v *
* icc -c *
* │ *
* v *
* AHELLOW1.OBJ *
* │ *
* v *
* AHELLOW1.DEF ───> icc /B ... ─> 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 2: Run AMAKE1.CMD *
* Run HELLO1.EXE *
* Run CLEANUP1.CMD *
* *
* AMAKE1.CMD compiles and links HELLO1.EXE. *
* CLEANUP1.CMD cleans up the files built by AMAKE1.CMD. *
***************************************************************************