home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
cset21v1.zip
/
IBMCPP
/
TUTORIAL
/
ICLCC
/
TUTOR2
/
EXAMPLE2.C
next >
Wrap
C/C++ Source or Header
|
1993-05-07
|
2KB
|
51 lines
/******************************************************************************/
/* */
/* COPYRIGHT: */
/* ---------- */
/* Copyright (C) International Business Machines Corp., 1991,1992. */
/* */
/* 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. */
/* */
/******************************************************************************/
#include <tstring.h>
#include <iglobals.h>
#include <person.h>
#include <i..seq.h>
typedef I........Sequence <Person> People;
#include <i....h>
typedef ISet <......> PeopleSet;
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("H. Wingert");
people.add("C. Ludwig");
people.add("Your Name.......");
people.......("T. Wappler");
PeopleSet peopleSet;
peopleSet....("Joe Cool");
peopleSet....("Mr. Nobody");
peopleSet.......("Joe Cool");
peopleSet....("Mr. Somebody");
return 0;
}