 **********************************************************************
 * DISCLAIMER OF WARRANTIES:                                          *
 *                                                                    *
 * The following enclosed code is sample code created by IBM          *
 * Corporation.  This sample code is not part of any standard IBM     *
 * product and is provided to you solely for the purpose of assisting *
 * you in the development of your applications.  The code is provided *
 * "AS IS", without warranty of any kind.  IBM shall not be liable    *
 * for any damages arising out of your use of the sample code, even   *
 * if they have been advised of the possibility of such damages       *
 *                                                                    *
 **********************************************************************

 NAME - SAMPLE07


 DESCRIPTION:

  This sample includes 2 examples of C++ and DLL techniques.
  One example calculates the geometric area of a triangle or rectangle.
  The other example involves the use of template in C++ in the creation
  and manipulation of different kinds of stacks.

 TASK:

  Calculates the geometric area of a triangle or rectangle based on
  size parameters provided by the user.
  Creates different 2 kinds of stacks (integer, float) and manipulates
  them.

 FEATURE/CONCEPT:
  Demonstrates building and using a dynamic link library (DLL).  The sample
  includes:

  - Building DEF files.

  - Building user DLLs.

  - Building applications to exploit the DLLs.

  - Using templates.

 HOW TO RUN THE SAMPLE FROM THE COMMAND LINE:
  Simply type the name of the .EXE file, that is:

  main

  from the SAMPLE07\METHOD1 directory to build the first example, or
  from the SAMPLE07\METHOD2 directory to build the second example.


 HOW TO BUILD THE SAMPLE FROM THE COMMAND LINE:
  Simply type:

  cd dll
  nmake
  cd ..
  nmake

  from the SAMPLE07\METHOD1 directory to build the first example, or
  from the SAMPLE07\METHOD2 directory to build the second example.


 ADDITIONAL INFORMATION
  For additional information on this and other samples shipped
  with the VisualAge for C++ product, please see the Guide to Samples
  notebook.

  To access the notebook from Program Manager, open the
  VisualAge for C++ product object, then open the Guide to Samples
  notebook.



