I don't know if this, but I figure out a problem in my code.
In some part of it, I have the next:
this->matrix = new double*[this->row];
this->matrix = NULL;
for(i = 0 ; i < row ; i++)
{
this->matrix[i]=new double[this->collumn];
this->matrix[i] = NULL;
}
and at the begin I put the first address equal to NULL, to initialize the array, but inside of for loop, it couldn't create the second dimension, because the address was NULL.
So what i meant was:
this->matrix = new double*[this->row];
*this->matrix = NULL;
for(i = 0 ; i < row ; i++)
{
this->matrix[i]=new double[this->collumn];
*this->matrix[i] = NULL;
}