home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / ioc / wordbag / readme.txt < prev    next >
Encoding:
Text File  |  1996-02-22  |  2.1 KB  |  47 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. SAMPLE - Word Bag
  15.  
  16.    DESCRIPTION:
  17.         This program illustrates the use of a key sorted bag. The program
  18.         determines the number of words that have the same length in a
  19.         phrase. It stores the words of the phrase in key sorted bag that
  20.         it implements using the default class, IKeySortedBag. The program
  21.         makes the key the length of the word.  Because of the properties
  22.         of a key sorted bag, it sorts the words by their length (the
  23.         key), and it stores all duplicate words.
  24.  
  25.    TASK:
  26.         This program uses a key sorted bag to store and sort words
  27.         according to their length.
  28.  
  29.    CONCEPT/FEATURE:
  30.         This program is a sample to demonstrate the use of the default
  31.         class IKeySortedBag.
  32.  
  33.    HOW TO RUN THE SAMPLE FROM THE COMMAND LINE:
  34.        From within the directory containing the sample, simply type
  35.        the name of the executable:
  36.  
  37.                  WORDBAG
  38.  
  39.    ADDITIONAL INFORMATION:
  40.  
  41.         For additional information on this and other samples shipped with
  42.         the VisualAge for C++ product, see the Guide to Samples notebook.
  43.  
  44.         To access the notebook from Program Manager, open the VisualAge
  45.         for C++ product object, then open the Guide to Samples notebook.
  46.  
  47.