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

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