PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs223] Modifying Deque.h
Date: Wednesday, 18 Mar 2020, 18:03:55


    > Message Posted By: Unknown
    >
    > If we chose to modify Deque.h from
    >
    > typedef struct deque *Deque;
    >
    > to
    >
    > typedef struct deque Deque;
    >
    > so we can have head and tail pointers for the struct
    >
    > 1. are we allowed to do this?

No.  As stated in the specification,

  These deques should be implemented in a separate source file as the abstract
  data type (ADT) Deque defined in the header file Hwk4/Deque.h.

and

  Your code MUST #include Hwk4/Deque.h, not a local copy.

--Stan-
PREV INDEX NEXT