head	1.3;
access
	monica
	thoth;
symbols;
locks
	monica:1.3; strict;
comment	@// @;


1.3
date	94.12.16.02.52.02;	author monica;	state Exp;
branches;
next	1.2;

1.2
date	94.12.08.22.30.53;	author monica;	state Exp;
branches;
next	1.1;

1.1
date	94.09.14.18.46.54;	author monica;	state Exp;
branches;
next	;


desc
@@


1.3
log
@added reference to log for rcs
@
text
@// $Log$
// Emacs: -*- C++ -*-

// pointset_example.01.c
// IA_Set<IA_Point<int> > constructor and iterator examples

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


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);

}
@


1.2
log
@changed include PrintIPS.c to PrintIPS.h
@
text
@d1 1
@


1.1
log
@Initial revision
@
text
@d7 1
a7 1
#include "printIPS.c"
@
