清单2显示了主程序循环的开头。
客户机发起调用(从主程序)。
清单8显示了主程序逻辑。
主程序逻辑首先关闭了缓冲输出。
编译主程序并同dl库相链接。
清单9展示了主程序循环的开始部分。
大多数语言允许主程序使用任意名称。
连接点就是主程序和方面相遇的地方。
A join point is where the main program and the aspects meet.
向主程序注册序号、中断属性和线程属性。
Register the sequence number, interrupt nature, and thread attributes to the main program.
在您完成主程序的定义之后,该错误将会消失。
This error will disappear after the main program has been defined.
设置了子程序后,我们将快速转入简短的主程序逻辑。
With our subroutines set up, we move quickly into the short main program logic.
在主程序逻辑中执行数据结构搜索以获得查询结果。
Searching this data structure for query results will be performed in the main program logic.
主程序拥有返回匹配所需的查询、排序和显示逻辑。
The main program holds the query, sorting, and display logic for returning the matches.
清单4显示了主程序循环中的三指检测的开始部分。
Listing 4 shows the beginning of the three-finger detection in the main program loop.
现在,我们已经完成主程序的定义,如图13 所示。
We have completed the definition of the Main Program, as shown in Figure 13.
在主程序循环中,代码无需忽略标题行和输入的前两行。
In the main program loop, there is no need for the code that ignores the header lines and the first two lines of input.
c:主程序,以及一些进行输入、输出和错误处理的函数。
Ccalc.c: The main program and some functions for input, output, and error processing.
清单3将启动主程序循环并读取synclient输出。
Listing 3 starts the main program loop and reads the synclient output.
上面的主程序逻辑将搜索匹配简单标准的字母和数字字符串。
The main program logic above searches for letter and number strings matching our simplistic criteria.
要在模式间进行切换,需要对主程序循环的每次循环执行额外的检查。
To switch between modes, an additional check is required in each pass of the main program loop.
只有字符串字段是至关重要的;它表示构成主程序的函数的名称。
Only the string field is significant; it is the name of a function that is the main program.
在深入介绍主程序细节之前,我要先来探讨一下dma实用函数。
Before getting into the details of the main program, I'll explore the DMA utility functions.
在版本1.6.3 中,主程序叫作cfengine 。
完成了基本变量声明和子例程后,程序将继续进行主程序循环,如下所示。
With the base variable declarations and subroutine complete, the program moves on to the main program loop, shown below.
完成评分代码升级剩下的全部操作就是将主程序逻辑流程从清单7修改为清单8。
All that remains to complete the scoring code upgrade is to modify the main program logic flow from Listing 7 to Listing 8.
假设至少查找到了一个匹配,主程序将继续叠加匹配声音文件来构建一个单独的输出文件。
Assuming at least one match was found, the main program will then continuously overlay the matching sound files to build a single output file.
注意,SPE代码被编写为一个新的主程序,并在通过句柄嵌入PPE 代码之前为它生成代码。
Note that the SPE code is written as a new main program and code is generated for it prior to embedding through the handle into the PPE code.
利用这些子程序,主程序的逻辑允许用户创建敲打序列,或在守护模式下监听敲打序列并执行命令。
With the subroutines in place, the main program logic allows the user to create a knock sequence, or runs in daemon mode to listen for knocks and execute commands.
在AIXshell提示中,它使用三个命令编译程序,一个命令生成一个可执行主程序并运行该程序。
At the AIX shell prompt, it takes three commands to compile the programs, one command to generate an executable main program and run it.
清单6和7展示了主程序逻辑的其余部分以及shakecheck子例程,它将捕捉动作并切换模式。
Listings 6 and 7 show the remainder of the main program logic and the shakeCheck subroutine that perform the gesture acquisition and mode change.
应用推荐