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

  1. PROJECT - Graph
  2.  
  3.    DESCRIPTION:
  4.         This program allows to store managed pointers for various
  5.         graphical objects into one collection, a key sorted set.  The
  6.         graphical objects, namely lines, curves, and circles, inherit
  7.         from a base class Graphics.  Managed pointers to objects of this
  8.         type are stored in the key sorted set. Using these pointers, you
  9.         can access the various objects from the collection.
  10.  
  11.    TASK:
  12.         This program uses a key sorted set to store managed pointers of
  13.         various graphical objects.
  14.  
  15.    CONCEPT/FEATURE:
  16.         This program is a sample to demonstrate the use of managed
  17.         pointers.
  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\graph
  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.                  GRAPH
  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.            - The sample application can also be built by entering:
  78.                  NMAKE
  79.              with no options while in the directory containing the
  80.              sample application files.  The makefile is named
  81.                  Makefile
  82.              To clean up the files generated from running make, enter:
  83.                  NMAKE CLEAN 
  84.              while in the directory containing the sample program files
  85.  
  86.  
  87.    SOFTWARE/HARDWARE PREREQUISITES:
  88.  
  89.         o   IBM VisualAge C++
  90.         o   OS/2 2.1 or Warp
  91.         o   IBM or compatible 386 and up.
  92.  
  93.    ADDITIONAL INFORMATION:
  94.  
  95.         o   For more information on the creation and use of projects in
  96.             the WorkFrame environment, see the VisualAge C++ for OS/2
  97.             User's Guide.
  98.         o   For more information on the Collection Classes, see the
  99.             VisualAge C++ for OS/2 Open Class Library User's Guide.
  100.  
  101.         Both books can be found online.  To access an online book, simply
  102.         open the main VisualAge C++ desktop folder, then open the
  103.         Information Folder inside.  To view a book, double-click on that
  104.         book's icon.
  105.  
  106.  
  107. SOURCE FILES - Graph
  108.  
  109.    Required files:
  110.  
  111.    o   graph.rea   
  112.    o   build.cmd
  113.    o   graph.cpp
  114.    o   graph.xpc
  115.    o   graph.h
  116.    o   circle.h
  117.    o   curve.h
  118.    o   line.h
  119.    o   graph.exe
  120.  
  121.