最常见的例子是动态数组。
当一个动态数组的实例被创建的时候,它会抓住模板树的一个子树。
When an instance of the ArrayList class is created, it takes a small subtree of the template tree.
为什么我收到的错误关于Delphi的类型不兼容(数组和动态数组)?
Why am I receiving an error about Delphi incompatible types (array and dynamic array)?
客户端使用JSON数组中的值动态填充select控件。
The client dynamically populates the SELECT control with the values in the JSON array.
动态方法具有许多优点:它们能够向上适用于更大的问题(而不是带来任意的限制),而且它们没有导致安全问题的字符数组截断问题。
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.
当需要动态长度的数组时,请考虑ArrayList。
When a dynamic length of an array is needed, think ArrayList.
举个例子,你可以使用vector就像使用普通的c数组,除了vector不能手工申请管理动态内存。
You can, for example, use a vector in much the same way as you would use an ordinary C array, except that vector eliminates the chore of managing dynamic memory allocation by hand.
即使数组是动态改变的,equalize函数照样可以返回它的数组。
Even though arrays are mutable, the function equalize returns its array. This is useful if you only want to equalize a copy of the model.
在清单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.
该步骤接受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.
然后,我们创建一个数组包含参照我们的动态对象的属性。
Then we create an array that contains references to our dynamic object's properties.
然后迭代此表列表,动态地针对每个迭代生成一个新的elements数组。
It then iterates over this table list, dynamically generating a new elements array on each iteration.
关于动态路由器链接和*链接参数数组更多信息,见路由。
Learn more about dynamic router links and the link parameters array in the Routing chapter.
动态内容不仅是自动生成的,它往往也是手工定制的,通常使用的是快速而肮脏的脚本工具数组。
Dynamic content isn't just automatically generated, it is also often hand-tailored, typically using an array of quick and dirty scripting tools.
将创建存储动态和静态图像列表的两个数组,然后创建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.
JIFEX软件系统的数据管理系统—JINEGS系统在内存中动态分配的一维数组来进行数据管理。
In JIFEX software system, the data is managed by the JINEGS system in which an array is dynamic allocated in main memory.
之所以要动态分配数组,往往是由于编译时并不知道数组的长度。我们可以编写如下代码。
When we dynamically allocate an array, we often do so because we don't know the size of the array at compile time. We might write code such as.
另外,用数组不利于实现线性表中结点的动态增加与删除。
Moreover, it's not in favor of realizing the dynamic adding and deletion of node in linear tables by using arrays.
抽象数据类型的命名约定(动态):数组、向量,序列,列表,容器,缓冲区。
Abstract data types naming convention: (Dynamic) Array, Vector, Sequence, List, Container, Buffer.
不知道什么是对的对齐的你在这方面的认识,但情况类似,每个指针分配动态内存指针的数组。
Not sure what is your understanding of aligned in this context but the situation is similar to a array of Pointers where each pointer is allocated dynamic memory.
与数组变量不同,动态分配的数组将一直存在,直到程序显式释放它为止。
Unlike an array variable, a dynamically allocated array continues to exist until it is explicitly freed by the program.
本文主要谈谈如何设计能与自己的实用程序相结合的用于动态对数组进行编辑的窗口软件。
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.
可以动态分配该数组,但需要确保适当销毁它。
You can dynamically allocate this array, but you would need to make sure to destroy it properly.
这里的主要问题是那些不能轻易动态增长,没有“大小”操作的数组(但你需要一个)。
The main issue here is that those cannot easily grow dynamically, there is no "resize" operation for those arrays (but you will need one here).
动态注册一个资源插件,前两个参数是资源的名称和执行函数的数组。
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.
同时给出能减轻比重偏析的最优动态浇注工艺参数组合。
Also provided a group of dynamic pouring process parameters, by which we can greatly abate the specific gravity segregation.
在程序的编制中还利用了数组动态存储技术,使程序能同时用于微机和其它类型的计算机。
The method of storage dynamical allocation is also used in programming, so the program can run on microcomputer or other kinds of computers.
用new动态创建长度为0的数组时,new返回有效的非零指针。
When we use new to allocate an array of zero size, new returns a valid, nonzero pointer.
假如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.
假如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.
应用推荐