客户端使用JSON数组中的值动态填充select控件。
The client dynamically populates the SELECT control with the values in the JSON array.
当需要动态长度的数组时,请考虑ArrayList。
When a dynamic length of an array is needed, think ArrayList.
动态方法具有许多优点:它们能够向上适用于更大的问题(而不是带来任意的限制),而且它们没有导致安全问题的字符数组截断问题。
Dynamic approaches have lots of advantages: they can scale up to larger problems (instead of creating arbitrary limits), and they don't have the problem of truncations causing security problems.
在清单5中,我们在调用期间动态地构建了数组引用,然后在打印结果时使用OID作为散列键。
In Listing 5 we build the array reference dynamically during the call, and then use the OID as the hash key when printing out the result.
另外,用数组不利于实现线性表中结点的动态增加与删除。
Moreover, it's not in favor of realizing the dynamic adding and deletion of node in linear tables by using arrays.
可以动态分配该数组,但需要确保适当销毁它。
You can dynamically allocate this array, but you would need to make sure to destroy it properly.
抽象数据类型的命名约定(动态):数组、向量,序列,列表,容器,缓冲区。
Abstract data types naming convention: (Dynamic) Array, Vector, Sequence, List, Container, Buffer.
动态注册一个资源插件,前两个参数是资源的名称和执行函数的数组。
Use this to dynamically register a resource plugin with Smarty. Pass in the name of the resource and the array of PHP functions implementing it.
假如dt _ textrel类型的数组项存在,表示一个或多个重定位表表项可能请求对一个非可写段进行修改,动态连接器能因此而做相应准备。
If this member is present, one or more relocation entries might request modifications to a non-writable segment, and the dynamic linker can prepare accordingly.
本文主要谈谈如何设计能与自己的实用程序相结合的用于动态对数组进行编辑的窗口软件。
This paper discusses how to design a window software that can be used to modify arrays and thus can be combined with one's program in practical use.
用new动态创建长度为0的数组时,new返回有效的非零指针。
When we use new to allocate an array of zero size, new returns a valid, nonzero pointer.
与数组变量不同,动态分配的数组将一直存在,直到程序显式释放它为止。
Unlike an array variable, a dynamically allocated array continues to exist until it is explicitly freed by the program.
该步骤接受JSON中声明的条目数组,使用它动态地构建一个显示统计信息细节的html表。
This step takes the items array declared in the JSON and USES it to dynamically build an HTML table showing the statistics details.
使用指定的属性名称、类型和特性数组创建一个属性说明符,并将其动态绑定到某个类型。
Creates and dynamically binds a property descriptor to a type, using the specified property name, type, and attribute array.
动态分配数组时,如果数组元素具有类类型,将使用该类的默认构造函数( 第2.3.4节)实现初始化;
When we allocate an array of objects of a class type, then that type's default constructor ( Section 2.3.4, p. 50) is used to initialize each element.
将创建存储动态和静态图像列表的两个数组,然后创建Tk画布以提供动态和静态图像的背景。
Two arrays are created that store a list of the active and inactive images. A Tk canvas is then created to provide a background for the inactive and active images.
将创建存储动态和静态图像列表的两个数组,然后创建Tk画布以提供动态和静态图像的背景。
Two arrays are created that store a list of the active and inactive images. A Tk canvas is then created to provide a background for the inactive and active images.
应用推荐