home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ICLUI.ZIP / HELLO1 / README1.TXT < prev   
Text File  |  1993-03-09  |  8KB  |  109 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 Hello World 6 (AHELLOW6.CPP) for a history of all the versions.     *
  18. *                                                                         *
  19. * C++ Hello World Version 1 Key Functions:                                *
  20. *    - Creates and runs a simple application                              *
  21. *    - Creates the main window (IFrameWindow)                             *
  22. *    - Creates a static text control set to "Hello, World!" as the        *
  23. *       client window                                                     *
  24. *                                                                         *
  25. ***************************************************************************
  26.  
  27. ***************************************************************************
  28. * File list:                                                              *
  29. *   README1.TXT  - Readme file for HELLO1.EXE.                            *
  30. *   AHELLOW1.CPP - Source code for the main() function                    *
  31. *   AHELLOW1.DEF - Module definition file for HELLO1.EXE.                 *
  32. *   AMAKE1.MAK   - Make file to create HELLO1.EXE.                        *
  33. *   AMAKE1.CMD   - Command file to create HELLO1.EXE.                     *
  34. *   BUILD1.CMD   - Command file to compile, link and run HELLO1.EXE.      *
  35. *   CLEANUP1.CMD - Command file to clean up (erase) the following         *
  36. *                   generated files:  HELLO1.EXE, AHELLOW1.OBJ,           *
  37. *                   AHELLOW1.MAP, and AHELLOW1.ERR.                       *
  38. *                                                                         *
  39. ***************************************************************************
  40.  
  41. ***************************************************************************
  42. *                                                                         *
  43. * File Relationship Diagram (Files are in upper case letters; programs    *
  44. *                            are in lower case letters.)                  *
  45. *                                                                         *
  46. *                             AHELLOW1.CPP                                *
  47. *                                 │                                       *
  48. *                                 │                                       *
  49. *                                 │                                       *
  50. *                                 │                                       *
  51. *                                 │                                       *
  52. *                                icc -c                                   *
  53. *                                 ║                                       *
  54. *                                 ║                                       *
  55. *                                 ║                                       *
  56. *                                 ║                                       *
  57. *                             AHELLOW1.OBJ                                *
  58. *                                 ║                                       *
  59. *                                 ║                                       *
  60. *             AHELLOW1.DEF ───> icc /Tdp ... ─> AHELLOW1.MAP              *
  61. *                                 │                                       *
  62. *                              HELLO1.EXE                                 *
  63. *                                                                         *
  64. ***************************************************************************
  65.  
  66. ***************************************************************************
  67. *                                                        ╔═══════════╗    *
  68. * Window Parent Relationship Diagram:           Diagram  ║Class Name ║    *
  69. *                                                   Key: ║───────────║    *
  70. *                   IApplication::current().run()        ║Object Name║    *
  71. *                                 │                      ╚═══════════╝    *
  72. *                                 │                                       *
  73. *                           ╔════════════╗                                *
  74. *                           ║IFrameWindow║                                *
  75. *                           ║────────────║                                *
  76. *                           ║ mainWindow ║                                *
  77. *                           ╚════════════╝                                *
  78. *                                 │                                       *
  79. *                                 │                                       *
  80. *                                 │                                       *
  81. *                                 │                                       *
  82. *                                 │                                       *
  83. *                                 │                                       *
  84. *                                 │                                       *
  85. *                            ╔═══════════╗                                *
  86. *                            ║IStaticText║                                *
  87. *                            ║───────────║                                *
  88. *                            ║   hello   ║                                *
  89. *                            ╚═══════════╝                                *
  90. *                           (Client Window)                               *
  91. *                                                                         *
  92. ***************************************************************************
  93.  
  94. ***************************************************************************
  95. * The HELLO1.EXE Sample Application can be built in two ways:             *
  96. *                                                                         *
  97. * Option 1: Run BUILD1.CMD                                                *
  98. *                                                                         *
  99. *   This option compiles, links, and executes HELLO1.EXE.  It then        *
  100. *   cleans up all files created by BUILD1.CMD.                            *
  101. *                                                                         *
  102. * Option 1: Run AMAKE1.CMD                                                *
  103. *           Run HELLO1.EXE                                                *
  104. *           Run CLEANUP1.CMD                                              *
  105. *                                                                         *
  106. *   AMAKE1.CMD compiles and links HELLO1.EXE.                             *
  107. *   CLEANUP1.CMD cleans up the files built by MAKE1.CMD.                  *
  108. ***************************************************************************
  109.