home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv7.zip
/
VACPP
/
IBMCPP
/
tutorial
/
ICLCC
/
TUTOR4
/
EXAMPLE4.CPP
next >
Wrap
Text File
|
1995-05-10
|
970b
|
44 lines
/*************************************************************************
IBM(R) VisualAge(TM) C++ for OS/2(R), Version 3
- Collection Class Library -
(C) Copyright IBM Corp. 1991, 1995.
- Licensed Material - Program-Property of IBM - All Rights Reserved.
*************************************************************************/
#include <iglobals.h>
#include <person4.h>
#include <iostream.h>
#include <iseq.h>
typedef ISequence <Person> People;
int main ()
{
People people;
...
{
people.add("J. Uhl");
people.add("K. Liegert");
people.add("M. Blum");
people.add("T. Wappler");
people.add("F. Seliger");
people.add("S. Hartig");
people.add("B. Proske");
people.add("C. Ludwig");
people.add("A. Wessling");
people.addAtPosition (100,"K. Liegert");
}
..... (.......... & exception)
{
cout << exception.name () << endl;
return 1;
}
return 0;
}