Comp 2673, Spring 2002
May 22, lecture notes

Today, as an in-class project, we'll work on implementing a class template. This template will implement a primitive version of a "vector" class, like the one in the STL, only much simpler. Here's the declaration of the class - your job is to define it. declaration of "vec" Fill in the prototypes for the copy constructor and the assignment operator, and implement the two constructors, the destructor, the display function, and the push_back function. Implementing the copy constructor and the assignment operator will be your next homework assignment.