CSCI 2270 Computer Science 2: Data Structures
Spring 2003
Karl Winklmann

Stacks and Templates

Wednesday, February 12, 2003

 


Previous page | Next page | Schedule and syllabus | Home Page | Bulletin Board | Current notes | Assad's Page | Programs | Table of contents | News archive | Dora

Stacks

Stacks are discussed in Chapter 7. Here is the example from class (a stack of characters).

Templates

Templates are classes and functions and operators that work with different data types, the data type being a parameter. This is discussed in Chapter 6. Here is the template version of the stack class discussed in class and the difference between the non-template and the template version.  


© Karl Winklmann               7:10 PM, Friday, May 2, 2003