Computer Science City College of New York
  CSc212 Section PR Data Structures

Lecture 11 Templates and Iterators

The code could be found at http://www.cs.colorado.edu/~main/chapter6
 

Bag Template Class with a Dynamic Array

    The Header file bag4.h

    The Implementation file bag4.template

    A Demo Program bag4demo.cxx

Bag Template Class with a Linked List - Template Node Class and Iterators

    The Header file bag5.h

    The Implementation file bag5.template
 



Zhigang Zhu ( zhu@cs.ccny.cuny.edu )