The Size Function
Counts how many integers are in the bag.
int Bag::size( ) const
// Postcondition: The return value is the number
// of integers in the Bag.
{
. . .
}
Previous slide
Next slide
Back to first slide
View graphic version