// List4.h #ifndef __LIST_H__ #define __LIST_H__ class List { public: List(int capacity=10); List(const List &source); ~List() { delete [] data_; } void operator=(const List &source); private: int size_; int capacity_; int *data_; }; inline List::List(int capacity) { data_ = new int[capacity]; size_ = 0; capacity_ = capacity; } inline List::List(const List &source) { int i; size_ = source.size_; capacity_ = source.capacity_; data_ = new int[capacity_]; for (i=0; i