如题。

解决方案 »

  1.   

    怎样定义函数呢?
    这样定义Funtion(int **array) 通不过编译。
      

  2.   

    传入1维指针,2唯操作
    #define M 3
    #define N 4
     void (int *array)
     {
       int i,j....
        *(array+i*M+j)=xxx;//对某个数祖元素操作
     }
      

  3.   

    处理矩阵不也就一样嘛。
    不用什么变换,把你的2唯数祖指针传入void fun(int *array);
    不过要强制转换。
       int Ilovelinda[3][4];
       fun((int *)Ilovelinda);这没什么复杂吧,
    你要想传入2唯,就必须知道大小。兄弟,将就将就吧
      

  4.   

    #define M 4
    void test(int array[][M])
    {  array[i][j]
    }