二维数组运算符重载
这是Coursera一个公开课上的作业题
写一个类,可以满足输出为
0,1,2,3,
4,5,6,7,
8,9,10,11,
next
0,1,2,3,
4,5,6,7,
8,9,10,11,
class Array2{
public:
Array2(){
curcol = -1;
ptr = NULL;
}
Array2(int, int);
Array2(Array2 &a);
int* operator[](int);
int& operator[](int) const;
int& op