The Insert Function
Inserts a new number in the bag
void Bag::insert(int new_entry)
// Precondition: The Bag is not full.
// Postcondition: A new copy of new_entry has
// been added to the Bag.
{
. . .
}
Previous slide
Next slide
Back to first slide
View graphic version