1 #ifndef TOP_H
2 #include <iostream>
3 #define TOP_H
4 #endif
5
6 #ifndef INTARRAY_H
7 #include "intarray.h"
8 #define INTARRAY_H
9 #endif
10
11 int main(){
12 IntArray myarray1;
13 int array[200] = { 5,3,6,8,2,8,4596923,4,4,67,5,34,43,555,5,456,6,765765,76,9949,9,656,7554 };
14 int i;
15 IntArray comparray(array, 200);
16 comparray.sort();
17 for(i=0;i < 200; i++)
18 cout << comparray[i] << endl;
19 cout << "DONE \n";
20 myarray1[2] = 400;
21 cout << "___________" << myarray1[2] << endl;
22
23
24 return 1;
25 }
26
27