// SimpleList.h - wdg - 2008 // header for primitive List #ifndef SIMPLE_LIST_H #define SIMPLE_LIST_H template class SimpleList { public: SimpleList(int cap); void add(T item); T getItem(int position) const; SimpleList & operator=(const SimpleList & rhs); private: int count; int capacity; T *A; // will store array }; #include "SimpleList.cpp" #endif