Array Class
A C++ class 'Array' representing an array of int's (taken from chapter 8 of Deitel & Deitel):
An extension of the Array class to add 'sum' & 'average' methods:
An extension of the Array2 class to allow indices to start at any value (instead of 0):
A main() function which illustrates the use of the above classes: