**********************************************************************
* 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       *
*                                                                    *
**********************************************************************

SAMPLE - Word Bag

   DESCRIPTION:
        This program illustrates the use of a key sorted bag. The program
        determines the number of words that have the same length in a
        phrase. It stores the words of the phrase in key sorted bag that
        it implements using the default class, IKeySortedBag. The program
        makes the key the length of the word.  Because of the properties
        of a key sorted bag, it sorts the words by their length (the
        key), and it stores all duplicate words.

   TASK:
        This program uses a key sorted bag to store and sort words
        according to their length.

   CONCEPT/FEATURE:
        This program is a sample to demonstrate the use of the default
        class IKeySortedBag.

   HOW TO RUN THE SAMPLE FROM THE COMMAND LINE:
       From within the directory containing the sample, simply type
       the name of the executable:

                 WORDBAG

   ADDITIONAL INFORMATION:

        For additional information on this and other samples shipped with
        the VisualAge for C++ product, 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.

