It is usually a good idea to define array parameters as Pointers, rather than using the array syntax.
通常,将数组形参直接定义为指针要比使用数组语法定义更好。
To get around this I use a data structure to define a named indicator variable for each array element.
为绕过这个限制,我使用一个数据结构来为每个数组元素定义一个已命名指示符变量。
Here again, you used object notation to define the parameters, and array notation to access them.
这里同样使用对象表示法定义参数,但是用数组表示法访问它们。
应用推荐