#include using namespace std ; #include "myArray.h" int main() { myArray A ; for (int i = 0 ; i < 10; i++) { A.append(i) ; } A[2] = 777 ; cout << "A = " ; A.print() ; cout << "A[4] = " << A[4] << endl ; }