Hi!

I was looking a lot about that, but i didn't find any answer so I decided to ask here.

I have a function:
Code:
void allocate(double **m,int n) {
     int i;
     m=(double**)malloc(n*sizeof(double *));
     for(i=0;i<n;i++)
	  m[i]=(double*)malloc(n*sizeof(double));
}
and i want to write some values into the matrix so:
Code:
int main() {
...