bob323
Mar 17th, 2001, 05:04 PM
I have a two dim array that I created using pointers:
int row;
int **temp;
temp = (int **) calloc (10, sizeof(int));
for (row=0; row <10; ++row)
temp[row] = (int *) calloc (10, sizeof (int));
but I need to use a pointer in this last line instead of temp[row] any idea how?
int row;
int **temp;
temp = (int **) calloc (10, sizeof(int));
for (row=0; row <10; ++row)
temp[row] = (int *) calloc (10, sizeof (int));
but I need to use a pointer in this last line instead of temp[row] any idea how?