// A main program to test the member functions of the class // int_array. You should make a habit of doing this to ensure that // each class you write is working correctly. #include using namespace std; #include "int_array.h" int main() { int_array foo(15); int_array bar(20, -1); int_array copied(12); cout << "foo's size: " << foo.size() << endl; cout << "bar's size: " << bar.size() << endl; cout << "bar[18] = " << bar[18] << endl; bar[13] = 8; cout << "bar[13] is now " << bar[13] << endl; for ( int i=0; i