CPSC 241 Computer Science IV
(Data Structures and Algorithms)

Fall 1998
TTh 12:30--1:45 Daniel 408
Syllabus

Chp3: Templates

Sample programs

tswap.cpp
(template swap example)

oarr10.cpp
(template class Array: templated IntArray class, including subset of IntArray member functions)

Chp4: Inheritance

Sample programs

pts.cpp
(inheritance)

produce.cpp
(abstract class, virtual functions)

Assignment 3

oll1.cpp
(solution)