交错数组是元素为数组的数组。
如何找到一个数组的数组?
你的问题是因为你定义一个字符数组,而不是一个字符数组的数组(如字符串)。
Your problem is because you are defining an array of chars, not an array of arrays of chars (i. e. strings).
第一部分,在水平方向放入单词非常简单—构建一个数组的数组,每个数组中有10个元素,用句点填充。
The first part, putting in the horizontal words, is pretty easy - build an array of arrays, 10 elements each, filled with periods.
此模型实际上是由数组组成的数组。
The model is actually an array of arrays. Listing 9 shows the structure definition.
数组几乎是所有编程语言所共有的类型,但一种语言的数组与另一种语言的数组实现通常是不同的。
Arrays are a common type in almost any programming language, but the implementation of the array from one language to the next is usually different.
相反,应该在其他地方创建数组,这个任务可以使用数组的引用。
Instead, the array should be created elsewhere, and its reference be made available to the task.
这里介绍的技巧用于处理其中的一个情况:一个为“零”的数组和一个没有元素的数组之间的差别。
This tip addresses one of those cases: the distinction between an array which is null, and an array which has no elements.
对于数组而言,也生成了额外的方法来存储并检索数组中的单一值,这些方法将数组索引作为参数。
For arrays, additional methods are also generated to store and retrieve single values in the array; these methods take an array index as an argument.
本文介绍了一项技术,它可以基于每个对象的内容将对象数组划分成几个更小的输出数组。
This article described a technique to separate an array of objects into several smaller output arrays based on each object's content.
前面我所描述的大部分操作都是针对于标量和数组的;您还可以执行数组之间的操作,包括那些不同维度的数组之间。
For the most part, I have presented only operations between scalars and arrays; you can also perform operations between arrays, including ones of different dimensionality.
当输入或输出信息中有包含字段的数组时,可以对数组中的每个元素执行某些转换,或者将几个输入数组合并到一个输出中。
When there is an array of fields in the input or output message, certain transforms are available to perform an action on each element of an array, or to merge several input arrays into one output.
它被初始化为一个新的数组对象,该数组对象为空或者含有用户先前输入的车辆的车辆元素。
It is initialized to a new array object, which is empty or has vehicle elements from when a user entered vehicles earlier.
这个子接口提供了关于数组类型的信息,数组的组件类型可以是参数化的,也可以是一个类型变量。
This subinterface provides information about array types, where the component type of the array is either parameterized or a type variable.
一个必须处理对象所有权问题的特殊情况是数组,因为数组不可以是不可变的。
One special case where we are forced to deal with the issue of object ownership is with arrays, as arrays cannot be immutable.
由于这个命令需要以一个数组作为参数,所以将原来的哈希表拆解为一个数组,拆解的方式是,在数组中,每个值跟在它的键的后面。
Since this command expects an array, the original hash is unwound into an array in such a way that the values follow their respective keys in the array.
该类中的方法使您能够创建新数组,获得数组对象的长度,读和写数组对象的索引值。
The methods in this class let you create new arrays, get the length of an array object, and read and write indexed values of an array object.
若要获取数组中的值,您可以指定数组引用(请参见清单15)。
To get a value out of the array, specify the array reference (see Listing 15).
清单11展示了更多的数组遍历函数,可适用于其他编程语言的数组遍历。
Further array traversal functions are as follows in Listing 11 and fit appropriately with array traversal in other programming languages.
此操作的批量版本将包含输入集的数组和输出集的数组。
A batch version of this operation would contain an array of the set of inputs and an array of the set of outputs.
它还包含在这个组织单元工作的职员的数据数组和直接子组织单元的数据数组。
It also contains an array of data for employees working in the organizational unit and a separate array of data for the immediate sub-organization units.
IDSLBACWRITEARRAY:要访问数据,用户安全标签的每个数组组件必须等于数据安全标签的数组组件。
IDSLBACWRITEARRAY: Each array component of the user security label must be equal to the array component of the data security label to allow access to data.
流的输入是员工标识符的数组,而输出是状态对象的数组,指示工资单处理是否成功。
The input to the flow is an array of employee identifiers, while the output is an array of status objects, indicating whether the payslip processing succeeded or not.
读取的结果以数组传入时,只需要用数组的元素个数去除以1000即可。
As the readings are passed in as an array, you simply need to divide 1000 by the number of elements in the array.
随后遍历该数组,为数组中的各项创建一个DIV元素。
The array is then iterated through, and a DIV element is created for each item in the array.
结果,返回的数组的长度不再与原始数组的长度一致。
As a result, the length of the returned array is no longer the same as the length of the original array.
从属类型的标准实例是数组大小参数化的数组。
The canonical example of dependent types is that of an array type parameterized by the size of the array.
arraylets将大数组分为一些小的数组,以使没有进行碎片整理的堆更容易满足大数组分配请求。
Arraylets break up large arrays into smaller pieces to make large array allocations easier to satisfy without defragmenting the heap.
结果是生成一个Rhin o字符串数组,数组的元素包含以下内容。
The result is a Rhino array of string elements containing the following.
我先从使用复选框元素显示简单的String数组开始,数组中包含喜玛拉雅山的顶峰高度。
I'll start by using checkbox elements to show a simple String array of mountain peaks in the Himalayas.
应用推荐