The stub of append() should look like this:
   void LinkedQueue::append(const Item& it) {
The append() method should behave as follows:

Try the following:

  1. Allocate a new Node containing (it, NULL), and store its address in a local variable nPtr.
  2. If the queue is empty: Otherwise:
  3. Make myLastPtr point at the new node;
  4. Increment mySize;
Catch the std::bad_alloc exception; if it occurred, throw a FullQueueException.