head	1.3;
access;
symbols;
locks; strict;
comment	@// @;


1.3
date	94.10.11.00.27.28;	author rjj;	state Exp;
branches;
next	1.2;

1.2
date	94.09.02.02.22.13;	author rjj;	state Exp;
branches;
next	1.1;

1.1
date	94.09.01.00.12.56;	author rjj;	state Exp;
branches;
next	;


desc
@Placing under RCS.  This should be the source corresponding to UM 1.0
@


1.3
log
@Modified to use 'return 0;' rather than 'exit(0);'.
@
text
@// pointset_example.01.c
// IA_Set<IA_Point<int> > constructor and iterator examples

#include "IntPS.h"
#include "printIPS.c"


int main()
{
    IA_Set<IA_Point<int> >
	ips1(IA_Point<int>(1,1));
    // ips1 contains the single point <1 1>

    IA_Set<IA_Point<int> >
	ips2 = IA_boxy_pset( IA_Point<int>(0,0),
			     IA_Point<int>(9,9) );
    // ips2 contains all points in the rectangle
    //    bounded by <0 0> and <9 9>
    

    // print the elements of the set ips1
    cout << "*** ips1 ***\n";
    printIPS(ips1);

    // print the elements of the set ips2
    cout << "\n*** ips2 ***\n";
    printIPS(ips2);

    return 0;
}
@


1.2
log
@Modified includes to be iac++ v2.0 compliant.
@
text
@a3 1
#include <stdlib.h>
d29 1
a29 1
    exit( 0 );
@


1.1
log
@Initial revision
@
text
@a0 2
// Emacs: -*- C++ -*-

d4 2
a5 1
#include "IntPointSet.h"
d9 1
a9 1
main()
d30 1
@
