#include "stdstuff.h" #include "IntBag.h" int main () { IntBag mybag; mybag.add(3); mybag.add(1); mybag.add(3); mybag.add(1); mybag.add(2); mybag.add(1); cout << "size of myBag is: " << mybag.size() << endl; cout << "number of 1s removed is : " << mybag.removeAll(1) << endl; cout << "size of myBag is: " << mybag.size() << endl; pause (); return 0; }