PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs223] None
Date: Thursday, 02 Apr 2020, 20:19:40


    > Message Posted By: Unknown
    >
    > I am failing phase 2 of the tests and getting this error:
    >
    >
    > < Deque a destroyed: (nil)
    > ---
    > > Deque a destroyed: 0x4a4f040
    >
    > why is this happening if I have no memory leaks and testDeque is working
    > properly?

Does your implementation of destroyD() satisfy the
interface specification

  Destroy the Deque *D by freeing any storage that it uses (but not the blocks
    of storage to which the string pointers point) and set the value of *D to
    NULL.
  Return true if successful, false otherwise (e.g., D is an invalid argument).
   
in Deque.h?

If the answer is YES, then I need to see and run your
code to diagnose the problem.

--Stan-
PREV INDEX NEXT