home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / ioc / evenodd / readme.txt < prev   
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. PROJECT - Even/Odd
  15.  
  16.    DESCRIPTION:
  17.         This program creates sets using the default class, ISet. The
  18.         "odd" set contains all odd numbers less than ten. The "prime" set
  19.         contains all prime numbers less than ten. The program creates a
  20.         set, "oddPrime" that contains all the prime numbers less than ten
  21.         that are odd, by using the intersection of "odd" and "prime". It
  22.         creates another set, "evenPrime", that contains all the prime
  23.         numbers less than ten that are even, by using the difference of
  24.         "prime" and "oddPrime".
  25.  
  26.    TASK:
  27.         This program uses sets to store odd and prime numbers.
  28.  
  29.    CONCEPT/FEATURE:
  30.         This program is a sample to demonstrate the use of the default
  31.         class ISet.
  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.                  EVENODD
  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.