Sorry about writing in english
I have defined a two dimensional array:
int **x;
x = (int **)calloc(10*10,sizeof(int));
for (i=0; i<=9; i++)
x[i] = (int *)calloc(10,sizeof(int));
I want to make the above codes into a short-hand function or macro,
that is,
int **x;
myfunc(x,10,10)
How can I write myfunc()?
I appreciate your helpful comments.
Thanks in advance!
h
:h:w.
that it,
md
,