00001 #include "Object.h" 00002 #include "ObjectCollection.h" 00003 #include "CollectionIterator.h" 00004 00005 int main() { 00006 ObjectCollection *Collection = new ObjectCollection(); 00007 00008 Object *anObject1= new Object(1); 00009 Object *anObject2= new Object(2); 00010 00011 Collection->Put(anObject1); 00012 Collection->Put(anObject2); 00013 00014 Collection->Print(); 00015 }