#include #include "arrayListType.h" using namespace std; bool arrayListType::isEmpty() const { // TODO } //end isEmpty bool arrayListType::isFull() const { // TODO } //end isFull int arrayListType::listSize() const { // TODO } //end listSize int arrayListType::maxListSize() const { // TODO } //end maxListSize void arrayListType::print() const { // TODO } //end print bool arrayListType::isItemAtEqual(int location, int item) const { // TODO } //end isItemAtEqual void arrayListType::removeAt(int location) { // TODO } //end removeAt void arrayListType::retrieveAt(int location, int& retItem) const { // TODO } //end retrieveAt void arrayListType::clearList() { // TODO } //end clearList arrayListType::arrayListType(int size) { if (size <= 0) { cout << "The array size must be positive. Creating " << "an array of the size 100." << endl; maxSize = 100; } else maxSize = size; length = 0; // TODO dynamically create an array list of maxSize } //end constructor arrayListType::~arrayListType() { // TODO } //end destructor arrayListType::arrayListType(const arrayListType& otherList) { maxSize = otherList.maxSize; length = otherList.length; // TODO dynamically create an array list // TODO copy otherList }//end copy constructor