Consider an example of a program that prints out the address associated with 10 employees.
例如,假设一个示例程序要输出与10个职员相关联的地址。
This example program creates a cloned thread sharing memory space with the parent process.
这个程序例子创建了一个与其父进程共享存储器空间的克隆线程。
Try writing a program to generate for simple cases and check that your output agrees with the example cases; this will confirm you've understood the problem and are heading in the right direction.
可以编写一些简陋的程序来满足那些简单的示例,对比程序的输出和示例的答案,这样你就可以确认自己理解了题目的要求,并且找到正确的方向。
You can modify the utility as required. For example, suppose you want a sequence with an interval of 5. You can modify the program to achieve this.
您可根据需要修改实用程序,例如:如果希望获得间隔为5的序列,就可以通过修改程序来实现。
If you don't know how a GUI action is executed with a GUI object (like in this example), you can use the recording feature, and then refer to the generated program.
如果您不知道GUI对象是怎样执行gui操作的(就像本例),那么您可以使用记录特性,然后引用生成的程序。
For example, if you are running a transfer program that accepts a list of files as an argument, you might list all your files in a row with a checkbox next to each one.
例如,您运行一个接受文件列表作为参数的传输程序,您应该通过一系列复选框列出所有文件。
As another example, consider a program that knows where all the gas stations are on a map, and tries to find the one with the smallest driving distance from a given point.
另外一个例子,假设程序知道地图上所有加油站在哪里,并试图找到距给定点车程距离最小的一家。
For example, if you have five different COBOL data structures, you write five format-specific parsers, with the format information hard-wired into the parser program code.
例如,如果您有五种不同的COBOL数据结构,您将编写五个特定于格式的解析器,并将格式信息硬编码到解析器程序代码中。
The first example is a simple program that prints Hello World on the screen, but with a slight variation.
第一个例子是一个简单的程序,它将在屏幕上打印hello World,但稍微有些变化。
To run the example program, just type the ant command with no parameters.
要运行示例程序,只需键入ant命令,不需要参数。
To borrow an example from Alan Cooper, let's say that we are charged with creating a meeting-scheduler program.
借鉴一下AlanCooper的例子,假设我们负责创建会议日程安排程序。
Note: the -ggdb option in this example differs from Nigel's article in that it tells the GNU Compiler Collection (GCC) to optimize the program for debugging with GDB.
注意:此示例中的- ggdb选项与Nigel文章中所述的选项不同,因为它告诉gnu编译器集(GCC)优化该程序,以便于使用gdb来进行调试。
Usually the classpath is the same classpath you used to compile the program, with the addition of the directory where the compiled output was placed. For example, if the compile command was this.
通常这里的类路径与编译程序所使用的类路径相同,只是多了一个放置编译后的输出的目录。
For example, in Listing 3, it would be good to receive an error message when doing square-root (-22.0) and exiting the program with return status -1 instead of returning -1.0.
例如,在清单3中,当执行square - root(- 22.0)时应该产生错误消息,程序退出,返回状态应该是- 1而不是- 1.0。
For example, with a program name prefix of WBCSCU, the program-id of the driver program will be WBCSCUD.
例如,对于程序名称前缀wbcscu,驱动程序的程序ID将为WBCSCUD。
Once you've got the resources available to your program, it's just a matter of finding the right method to call. For example, suppose you were using the JSON-PHP module with PHP.
一旦获得了程序可用的资源,剩下的事就是找到合适的方法进行调用。
The embedded SQC program needs to be precompiled using the PREP command, which will create the bind file. This bind file needs to be bound with the OPTPROFILE option to the database, for example
嵌入式SQC程序需要使用PREP命令来编译,该命令将创建绑定文件。
If your graphics should not be altered (it's computer - or program-generated with UML, for example), let us know.
如果您的图片不能够进行更改(例如,由计算机或程序使用uml生成),请提醒您的编辑。
Once associated with a program entity, an attribute can be queried at run time and used in any number of ways (for example, help documentation).
属性一旦与程序实体关联,就可以在运行时查询它,并且可以以各种方式使用(例如,帮助文档)。
This section begins with an example program that finds the largest of three Numbers.
本节首先给出一个示例程序,它寻找三个数字中的最大者。
For example, the project manager is accountable for working with the managers to identify and resolve portfolio and program issues.
例如,项目经理负责与职能经理一起识别并解决项目组合与项目的问题。
For example, hardware developers are a category of (internal) program stakeholders concerned with the allocation of functionality and distribution of hardware within the system.
例如,硬件开发人员是一类(内部的)关心系统内硬件的功能和分布的分配的程序涉众。
As with the example in Figure 1, this is drawn from a large-scale program effort.
与图1中的实例一样,这是从大型计划工作中抽取的。
For example, a buffer overflow in a network server program that can be tickled by outside users may provide an attacker with a login on the machine.
例如,外部使用者可以利用的网路伺服器程序中的缓冲区溢位,可能使攻击者登入到机器。
For example, runtime analysis can help with program understanding.
例如,运行时分析可以帮助理解系统。
For example, the program is to run with user or administrative rights.
例如,以用户或管理员权限运行程序。
The example CICS COMMAREA program provided with this tutorial (see Download) is a simple library application written in COBOL.
本教程的示例CICSCOMMARE a程序(见下载)是一个用COBOL编写的简单书库应用程序。
Likewise, if the program communicates with the SPU code using mailbox access, it needs to create a new thread, for example, by calling fork or pthread_create.
同理,如果这个程序与使用邮箱访问的SPU代码进行通信,它就需要创建一个新的线程,例如通过调用fork或pthread_create。
On the remote machine: choose a port number (10000 in this example) and start gdbserver with the following command: gdbserver rsdhostname: 10000 instrumented program name.
在远程机器上:选择端口号(本实例中是10000)并用以下命令启动gdbserver: gdbserverrsdhostname: 10000所装备的程序名。
On the remote machine: choose a port number (10000 in this example) and start gdbserver with the following command: gdbserver rsdhostname: 10000 instrumented program name.
在远程机器上:选择端口号(本实例中是10000)并用以下命令启动gdbserver: gdbserverrsdhostname: 10000所装备的程序名。
应用推荐