//Lori Walker //cs290, 11-5-95 //In the following program, ATYPE declares an array of nine integers. Its //constructor function initialized each member of the array. The overloaded //operator[]() fucntion returns the value of the element specified by its //parameter. #include #include const int DEFAULT_SIZE = 9; class atype { int size; int *a; // constructor will allocate storage public: atype(int s0=DEFAULT_SIZE) { size=s0; a = new int[s0]; register int i; for(i=0; i=0 && i