Sorry I forgot to mention that I did compile and I am getting errors. Here is all the code:

Code:

//#include "Complex.h"
class Matrix
{
int row,col;
Complex **A;
bool empty;
public:
Matrix();
Matrix(const int&, const int&);
~Matrix();
Matrix operator*(const Matrix&);
Complex** operator[][](int&, int&);
};
Matrix::Matrix()
{
row = col = 0;
empty = true;
}
Matrix::Matrix(const int &a, const int &b)
{
row = a;
col = b;
empty = false;
A = new Complex* [row];
for (int i=0; i<row; i++)
A[i] = new Complex[col];
for (i=0; i<row; i++)
{
for(int j=0; j<col; j++)
{
A[i][j] = 0; //zero-out the entire matrix;
}
}
}
Matrix::~Matrix()
{
if(!empty)
{
for (int i=0; i<row; i++)
delete[] A[i];
delete[] A;
}
}
Complex** Matrix::operator[][](int &a, int &b)
{
return A[a][b];
}
Matrix Matrix::operator*(const Matrix &another)
{
//still didn't do this one
}

The following errors occur pointing to the function prototype and the first bracket of the function definition:

Code:

Error C2092: array element type cannot be function

The last error says "cannot recover from previous errors; stopping compliation."