CMSC 433 - Project 1 - C++ exercise

Due Feb 15th, 6pm

Part 1 - IntList

Write IntList, linked-list of integers class. It should support the following functionality:

class IntList {
    int pop();
    const boolean empty();
    const int top();
    void push(int);
    int & operator[](int); 
    void appendCopyAtEnd(const IntList &)
    }

Part 2 - IntEArray

Write IntEArray, an array of integers class. It support the following functionality:

Look at the example of the ref-counted string and the dynamic array in the Core C++ book.

Submission details

Headers should be in files named IntList.h and IntEArray.h. You should submit those files and any other C++ files that need to be compiled as part of your project. Do not submit any files containing a main function.

Submission will be handled using the submit program.