home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / IOC / XMULTI / XMULTI2.CPP < prev   
Text File  |  1995-03-15  |  835b  |  22 lines

  1. /*************************************************************************
  2.   IBM C/C++ Tools Version 3.00 - Collection Class Library
  3.  (C) Copyright IBM Corporation 1992 ,1995, Licensed Program-Property of
  4.  IBM.  All Rights Reserved.  US Government Users Restricted Rights - Use,
  5.  duplication or disclosure restricted by GSA ADP Schedule Contract with
  6.  IBM Corp.
  7.  *************************************************************************/
  8.  
  9. /*-------------------------------------------------------------*\
  10. |  xmulti2.CPP    -  Example of using the same collection from  |
  11. |                    multiple compilation units, part 2.        |
  12. \*-------------------------------------------------------------*/
  13.  
  14.   #include "xmulti.h"
  15.  
  16.   int xmulti2(MultiXampleStack& mxs)
  17.   {
  18.     int i;
  19.     mxs.pop(i);
  20.     return i;
  21.   }
  22.