// main.cpp - driver for Array2 class

#include <iostream>
using namespace std;

#include "array2.h"

void main(void)
{
  int a[] = {2, 3, 4, 5, 6, 7};
  Array2 r(a, 3);

  r[1][2] = 99;
  for (int row = 0; row < 2; ++row) {
    for (int column=0; column < 3; ++column)
      cout << r[row] [column] << "  ";
    cout << endl;
  }
}
