小编Mah*_*rde的帖子

为什么需要多维阵列中更高尺寸的尺寸范围?

根据帖子,

将2D数组传递给C++函数

int array[10][10];
void passFunc(int a[][10]) //  <---Notice 10 here
{
    // ...
}
passFunc(array);
Run Code Online (Sandbox Code Playgroud)

为什么编译器内部的观点需要更高的维度.

c c++

5
推荐指数
1
解决办法
215
查看次数

标签 统计

c ×1

c++ ×1