fill(struct box soup[][], int length, int width, char*alphabet) //AND HERE** //omitted 以下是我在编译时得到的错误struct box soup[][], int length, int width, char*alphabet)我不明白为什么它会失败,而我拥有的其他一些函数
我需要创建2D锯齿数组。想一想矩阵。行数是已知的,列数是未知的。例如,我需要创建包含10个元素的数组,其中每个元素的类型为string[]。为什么我需要它?列数是未知的-此函数必须简单地进行分配并将数组传递给其他函数。int numRows) // this function must create string[][] where nu