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   
Text File  |  1993-10-18  |  7KB  |  101 lines

  1. ***************************************************************************
  2. * HELLO WORLD SAMPLE PROGRAM - Version 1: Readme File (README1.TXT)       *
  3. *                                                                         *
  4. * COPYRIGHT: Copyright(C) International Business Machines Corp.,1992,1993.*
  5. *                                                                         *
  6. * DISCLAIMER OF WARRANTIES:                                               *
  7. *   The following [enclosed] code is sample code created by IBM           *
  8. *   Corporation.  This sample code is not part of any standard IBM product*
  9. *   and is provided to you solely for the purpose of assisting you in the *
  10. *   development of your applications.  The code is provided "AS IS",      *
  11. *   without warranty of any kind.  IBM shall not be liable for any damages*
  12. *   arising out of your use of the sample code, even if they have been    *
  13. *   advised of the possibility of such damages.                           *
  14. *-------------------------------------------------------------------------*
  15. * This is the first in a series (1-6) of Hello World Samples.             *
  16. * Each sample gets more complex and it builds on the previous sample.     *
  17. * See the User Interface Class Library Users Guide for more information   *
  18. *   about this sample program.                                            *
  19. *                                                                         *
  20. * See Hello World 6 (AHELLOW6.CPP) for a history of all the versions.     *
  21. *                                                                         *
  22. * C++ Hello World Version 1 Key Functions:                                *
  23. *    - Creates and runs a simple application                              *
  24. *    - Creates the main window (IFrameWindow)                             *
  25. *    - Creates a static text control set to "Hello, World!" as the        *
  26. *       client window                                                     *
  27. ***************************************************************************
  28.  
  29. ***************************************************************************
  30. * File list:                                                              *
  31. *   README1.TXT  - Readme file for HELLO1.EXE.                            *
  32. *   AHELLOW1.CPP - Source code for the main() function                    *
  33. *   AHELLOW1.DEF - Module definition file for HELLO1.EXE.                 *
  34. *   AMAKE1.MAK   - Make file to create HELLO1.EXE.                        *
  35. *   AMAKE1.CMD   - Command file to create HELLO1.EXE.                     *
  36. *   BUILD1.CMD   - Command file to compile, link and run HELLO1.EXE.      *
  37. *   CLEANUP1.CMD - Command file to clean up (erase) the following         *
  38. *                   generated files:  HELLO1.EXE, AHELLOW1.OBJ,           *
  39. *                   AHELLOW1.MAP, and AHELLOW1.ERR.                       *
  40. ***************************************************************************
  41.  
  42. ***************************************************************************
  43. * File Relationship Diagram (Files in uppercase, Programs in lowercase)   *
  44. *                                                                         *
  45. *                             AHELLOW1.CPP                                *
  46. *                                 │                                       *
  47. *                                 v                                       *
  48. *                                icc -c                                   *
  49. *                                 │                                       *
  50. *                                 v                                       *
  51. *                             AHELLOW1.OBJ                                *
  52. *                                 │                                       *
  53. *                                 v                                       *
  54. *             AHELLOW1.DEF ───> icc /B ... ─> AHELLOW1.MAP                *
  55. *                                 │                                       *
  56. *                              HELLO1.EXE                                 *
  57. ***************************************************************************
  58.  
  59. ***************************************************************************
  60. *                                                        ╔═══════════╗    *
  61. * Window Parent Relationship Diagram:           Diagram  ║Class Name ║    *
  62. *                                                   Key: ║───────────║    *
  63. *                   IApplication::current().run()        ║Object Name║    *
  64. *                                                        ╚═══════════╝    *
  65. *                                                                         *
  66. *                           ╔════════════╗                                *
  67. *                           ║IFrameWindow║                                *
  68. *                           ║────────────║                                *
  69. *                           ║ mainWindow ║                                *
  70. *                           ╚════════════╝                                *
  71. *                                 │                                       *
  72. *                                 │                                       *
  73. *                                 │                                       *
  74. *                                 │                                       *
  75. *                                 │                                       *
  76. *                                 │                                       *
  77. *                                 │                                       *
  78. *                            ╔═══════════╗                                *
  79. *                            ║IStaticText║                                *
  80. *                            ║───────────║                                *
  81. *                            ║   hello   ║                                *
  82. *                            ╚═══════════╝                                *
  83. *                           (Client Window)                               *
  84. ***************************************************************************
  85.  
  86. ***************************************************************************
  87. * The HELLO1.EXE Sample Application can be built in two ways:             *
  88. *                                                                         *
  89. * Option 1: Run BUILD1.CMD                                                *
  90. *                                                                         *
  91. *   This option compiles, links, and executes HELLO1.EXE.  It then        *
  92. *   cleans up all files created by BUILD1.CMD.                            *
  93. *                                                                         *
  94. * Option 2: Run AMAKE1.CMD                                                *
  95. *           Run HELLO1.EXE                                                *
  96. *           Run CLEANUP1.CMD                                              *
  97. *                                                                         *
  98. *   AMAKE1.CMD compiles and links HELLO1.EXE.                             *
  99. *   CLEANUP1.CMD cleans up the files built by AMAKE1.CMD.                 *
  100. ***************************************************************************
  101.