ask a c question# Programming - 葵花宝典
s*e
1 楼
if I define a dynamic matrix in a function, how can I define it as global
martix since I need to use it in other functions.
Thanks!
int **array1 = (int **)malloc(nrows * sizeof(int *));
how to do that?
martix since I need to use it in other functions.
Thanks!
int **array1 = (int **)malloc(nrows * sizeof(int *));
how to do that?