Question: #ifndef BIDCOLLECTION_H #define BIDCOLLECTION H #include bids.h class BidCollection { int MaxSize; int size; Bid* elements; // array of bids public: * Create a collection

 #ifndef BIDCOLLECTION_H #define BIDCOLLECTION H #include "bids.h" class BidCollection { int
MaxSize; int size; Bid* elements; // array of bids public: * Create
a collection capable of holding bids 7 BidCollection (); Bidcollection (const BidCollections):

#ifndef BIDCOLLECTION_H #define BIDCOLLECTION H #include "bids.h" class BidCollection { int MaxSize; int size; Bid* elements; // array of bids public: * Create a collection capable of holding bids 7 BidCollection (); Bidcollection (const BidCollections): BidCollection (); BidCollectione operator= (conat BidCollection); 1 Access to attributes int getSize() const {return size; } 11 Rocess to individual elemente const B:s gesint index const return elemente index): // Access to individual elements const Bids get (int index) const {return elements [index]i| // Collection operations void addInTimeOrder (const Bids value); // Adds this bid into a position such that 7/ all bids are ordered by the time the bid was placed void remove (int index); 11 Remove the bid at the indicated position 1/Pre: 0

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!