[ CnUnix ] in KIDS 글 쓴 이(By): lemonde (bleu) 날 짜 (Date): 2004년 7월 18일 일요일 오전 06시 21분 27초 제 목(Title): questioin[3~[3~\[3~[3~[3~ 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 , |