PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs223] Question Regarding invalid arguments
Date: Saturday, 02 May 2020, 16:11:50


    > Message Posted By: Unknown
    ...
    > I was looking back at my GradeSheet for assignment 4 and I noticed I
    > failed several test cases (307, 308, 309, 310) and I believe this would be
    > all due to the same error.
    >
    > Could you tell me how we should have dealt with an invalid argument for
    > the deque methods or could you share us a little bit of your code
    > regarding handling invalid arguments? I checked if *d == NULL and if the
    > head and tail of the deque struct are NULL, but these still fail the
    > tests.

As usual, I cannot diagnose the problem without being
able to see and run your code.

--Stan-
PREV INDEX NEXT