CMSC 433 - Project 1 - C++ exercise - due Feb. 15, 6:00PM

Part 1 - IntList

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

class IntList {
    int pop();
    bool empty() const;
    int top() const;
    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 (e.g. ~as43301/bin/submit 1 *.h *.c)

Web Accessibility