home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / compiler / sample07 / method1 / readme.txt < prev    next >
Encoding:
Text File  |  1996-02-20  |  2.4 KB  |  75 lines

  1.  **********************************************************************
  2.  * DISCLAIMER OF WARRANTIES:                                          *
  3.  *                                                                    *
  4.  * The following enclosed code is sample code created by IBM          *
  5.  * Corporation.  This sample code is not part of any standard IBM     *
  6.  * product and is provided to you solely for the purpose of assisting *
  7.  * you in the development of your applications.  The code is provided *
  8.  * "AS IS", without warranty of any kind.  IBM shall not be liable    *
  9.  * for any damages arising out of your use of the sample code, even   *
  10.  * if they have been advised of the possibility of such damages       *
  11.  *                                                                    *
  12.  **********************************************************************
  13.  
  14.  NAME - SAMPLE07
  15.  
  16.  
  17.  DESCRIPTION:
  18.  
  19.   This sample includes 2 examples of C++ and DLL techniques.
  20.   One example calculates the geometric area of a triangle or rectangle.
  21.   The other example involves the use of template in C++ in the creation
  22.   and manipulation of different kinds of stacks.
  23.  
  24.  TASK:
  25.  
  26.   Calculates the geometric area of a triangle or rectangle based on
  27.   size parameters provided by the user.
  28.   Creates different 2 kinds of stacks (integer, float) and manipulates
  29.   them.
  30.  
  31.  FEATURE/CONCEPT:
  32.   Demonstrates building and using a dynamic link library (DLL).  The sample
  33.   includes:
  34.  
  35.   - Building DEF files.
  36.  
  37.   - Building user DLLs.
  38.  
  39.   - Building applications to exploit the DLLs.
  40.  
  41.   - Using templates.
  42.  
  43.  HOW TO RUN THE SAMPLE FROM THE COMMAND LINE:
  44.   Simply type the name of the .EXE file, that is:
  45.  
  46.   main
  47.  
  48.   from the SAMPLE07\METHOD1 directory to build the first example, or
  49.   from the SAMPLE07\METHOD2 directory to build the second example.
  50.  
  51.  
  52.  HOW TO BUILD THE SAMPLE FROM THE COMMAND LINE:
  53.   Simply type:
  54.  
  55.   cd dll
  56.   nmake
  57.   cd ..
  58.   nmake
  59.  
  60.   from the SAMPLE07\METHOD1 directory to build the first example, or
  61.   from the SAMPLE07\METHOD2 directory to build the second example.
  62.  
  63.  
  64.  ADDITIONAL INFORMATION
  65.   For additional information on this and other samples shipped
  66.   with the VisualAge for C++ product, please see the Guide to Samples
  67.   notebook.
  68.  
  69.   To access the notebook from Program Manager, open the
  70.   VisualAge for C++ product object, then open the Guide to Samples
  71.   notebook.
  72.  
  73. 
  74. 
  75.