Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
c++ x 3
Member Avatar for ecestd1

how do you implement a copy constructor for this pointer-based ADT queue [code] #include "Queuep.h" #include <cassert> #include <new> using namespace std; Queue::Queue () : backPtr (0), frontPtr(0) { } Queue::Queue(const Queue& Q) throw(OutOfStorageException) { //implement here }//end copy constructor Queue::~Queue() { while ( !isEmpty() ) { dequeue(); }//end while …

Member Avatar for ecestd1
0
1K