home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / IOC / PLANETS / PLANETS.REA < prev    next >
Text File  |  1995-06-07  |  4KB  |  106 lines

  1. SAMPLE - Planets
  2.  
  3.    DESCRIPTION:
  4.         This program uses the default class, ISortedSet, to create sorted
  5.         lists of planets with different properties. The program stores
  6.         all planets in our solar system, and all heavy or bright planets
  7.         in our solar system in a number of sorted sets. Each set sorts
  8.         the planets by its distance from the sun.
  9.  
  10.    TASK:
  11.         This program uses sorted sets to store planets with different
  12.         properties.
  13.  
  14.    CONCEPT/FEATURE:
  15.         This program is a sample to demonstrate the use of the default
  16.         classes ISortedSet and how to use the elements' properties as a
  17.         sorting criterion.
  18.  
  19.    PROJECT LOCATION:
  20.         Inside the IOC Samples folder (inside the VisualAge C++ Samples
  21.         folder).
  22.  
  23.    SOURCE FILE LOCATION:
  24.         X:\ibmcpp\samples\ioc\planets
  25.  
  26.         where X: is the drive you installed the samples and document
  27.         component of VisualAge C++.
  28.  
  29.    HOW TO RUN THE SAMPLE:
  30.  
  31.         FROM WITHIN THE WORKFRAME ENVIRONMENT:
  32.              To run the prebuilt project, open the Samples folder on your
  33.              OS/2 desktop then double-click on the project's icon to open
  34.              the project view of the sample.  Click on the RUN button of
  35.              the project's toolbar.
  36.  
  37.         FROM THE COMMAND LINE:
  38.              Simply type the name of the .EXE file, that is:
  39.  
  40.                  PLANETS
  41.  
  42.              If the sample fails to execute or abnormally ends, you can
  43.              get more information about the failure by turning on the
  44.              ICLUI trace.  This is done by setting the environment
  45.              variable ICLUI_TRACE as follows:
  46.  
  47.                    SET ICLUI_TRACE=ON
  48.                    SET ICLUI_TRACETO=STDERR
  49.  
  50.              The second export controls where the trace information is
  51.              reported.  With tracing turned on, ICLUI exception text will
  52.              be written to a standard error file. For example:
  53.  
  54.                    HELLO1 >HELLO1.OUT 2>&1
  55.  
  56.              The exception data is now in the file hello1.out.
  57.  
  58.    HOW TO BUILD THE SAMPLE PROJECT YOURSELF:
  59.  
  60.         FROM WITHIN THE WORKFRAME ENVIRONMENT:
  61.              Open the Samples folder on your OS/2 desktop then
  62.              double-click on the project's icon to open the project view
  63.              of the sample. In the upper half of the project window you
  64.              will see the icons of the files associated with the sample.
  65.              From the Project pulldown, select Build -> Rebuild All. To run
  66.              the sample project, see HOW TO RUN THE SAMPLE PROJECT above.
  67.  
  68.         FROM THE COMMAND LINE:
  69.              A command file is provided to allow rebuilding of the
  70.              WorkFrame projects from the command line.  Simply type:
  71.  
  72.                  BUILD
  73.  
  74.              To run the sample project, see HOW TO RUN THE SAMPLE PROJECT
  75.              above.
  76.  
  77.    SOFTWARE/HARDWARE PREREQUISITES:
  78.  
  79.         o   IBM VisualAge C++
  80.         o   OS/2 2.1 or Warp
  81.         o   IBM or compatible 386 and up.
  82.  
  83.    ADDITIONAL INFORMATION:
  84.  
  85.         o   For more information on the creation and use of projects in
  86.             the WorkFrame environment, see the VisualAge C++ for OS/2
  87.             User's Guide.
  88.         o   For more information on the Collection Classes, see the
  89.             VisualAge C++ for OS/2 Open Class Library User's Guide.
  90.  
  91.         Both books can be found online.  To access an online book, simply
  92.         open the main VisualAge C++ desktop folder, then open the
  93.         Information Folder inside.  To view a book, double-click on that
  94.         book's icon.
  95.  
  96.  
  97.  
  98.    REQUIRED FILES - PLANETS:
  99.  
  100.    o   planets.rea
  101.    o   build.cmd
  102.    o   planet.cpp
  103.    o   planets.xpc
  104.    o   planets.h
  105.    o   planets.exe
  106.