/**************************************************************** example 1 - driver.cpp developing our "safe" array ****************************************************************/ #include <iostream> using namespace std; #include "safearray.h" void main() { safearray list; for (int i = 0; i < maxsize; i++) list.put(i, i*10); for (int j = 0; j < maxsize; j++) cout << "Element " << j << " is " << list.get(j) << endl; }