Author: Stan Eisenstat
Subject: Re: [Cs223] Invalid argument
Date: Thursday, 19 Mar 2020, 15:16:33
> Message Posted By: Unknown
>
> In Deque.h, for function destroyD, you talked about it should return false
> if D is an invalid argument, what do you mean by that?
See Hwk4/Deque.h, which states:
// The following functions are the only means of accessing a Deque data
// structure. Each requires a pointer to a Deque variable in case it needs
// to modify the value of that variable (or more generally for uniformity).
// Each returns the status of the operation, either true (= success) or false
// (= failure; e.g., an invalid argument, an inconsistent Deque object, or a
// NULL return from malloc() / realloc()).
--Stan-
PREV
INDEX
NEXT