Question: Question 3: [3 marks] For QueueArray class, implement the following member function cancelValues, that received an array canceled values[] and it is size, to remove

 Question 3: [3 marks] For QueueArray class, implement the following member

Question 3: [3 marks] For QueueArray class, implement the following member function cancelValues, that received an array canceled values[] and it is size, to remove all members of canceled values[] from the QueueArray. Example. The QueuArray Q1 contains {10,30,40,50,80,90,100}, cv array contains [10,80,90}. Running Q1.cancelValues (cv,3) will make the array in Q1={30,40,50,100}. template T> class QueueArrax \{ public: QueueArrax(int cap); QueueArrax(); void enqueue(T\& val); T dequeuer(); bool is empty (); bool is full(); void clear(); void cancelValues( T canceled value[], int size); private: T data; int capacity, size, first, last; 3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!