だから私はこのコードに取り組んでおり、次のように2次元配列を関数に渡そうとしています:
関数シグネチャ : void f(array[4][4],int n);
int array [4][4];
f(&array[0][0],16)
for (int i=0;i<n;i++) // I'm working by c99 standard.
{
hist[ *(&array[0][0] +i) ] ++ ; // I know the max value in array[4][4] , and hist is initialized accordingly.
}
}
互換性のない型に関するあらゆる種類のエラーが発生し続けます。たとえば、「expected (*)[4] but type is of int * help ? :)」と表示されます