1. Repeat the previous exercise, but implement a memory-safe copy constructor instead. If a memory allocation fails, this constructor should release all memory that was allocated prior to the failure and then throw an exception.
2. An operation that displays the contents of a queue can be useful during program debugging. Add a display operation to the ADT queue such that display assumes and uses the link-based implementation of the ADT queue
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here