因此,对于您的定制语言,使用清单2中的伪代码。
So, for your custom language, use the pseudo-code in Listing 2.
记号包括了数据流图,结构图,hipo图,5过程模板,伪代码,结构化流程图,结构化英语和判定表。
The notations included data flow diagrams, structure charts, HIPO diagrams, 5 procedure templates, pseudo code, structured flowcharts, structured English, and decision tables.
清单15包含两个规则的定义的伪代码。
Listing 15 contains pseudocode for the definition of two rules.
好,这儿我想大家明白的就是,养成解决问题时先写伪代码的好习惯,把步骤都写出来,我想要告诉你们的是一个好的程序员。
Right, so the things we want you to take away from this are, get into the habit of using pseudo code when you sit down to start a problem, write out what are the steps.
清单1中的伪代码是一个简化的SQL查询,它获取所有活跃职员的姓名并列出他们及英语的组织名称。
The pseudo code in Listing 1 shows a simplified SQL query that retrieves employee names for all active employees and lists them with the English names of their organizations.
关于这个问题尤其要注意的是,实际上当我考虑这个-,问题的时候我想这么做,我会去写一点伪代码。
And in particular, if I think about that problem - actually I want to do this - if I think about that problem, I'm going to write a little piece of pseudo code.
我们放大这行伪代码。
在下面的伪代码中,这个内核线程应该在设备驱动程序的close函数中进行销毁。
This kernel thread should be destroyed in the close of the device driver in this pseudo code.
在下面的伪代码中,使用了内核api kernel _ thread来注册这个内核线程。
Use the kernel API kernel_thread to register this kernel thread in this pseudo code.
但Python Python是一种很值得展示的工具,因为它读起来像流线型的伪代码,并且广泛可用。
Python is a good vehicle for exposition, though, because it reads like streamlined pseudo code, and is widely available.
在真正着手构建函数之前,让我们先来看看关于伪代码的一些简单却重要的要点。
Before building a real function, let's review several points about the pseudocode that are important, but easy to overlook.
最简单的流控制语句是if 语句,它的基本语法在清单4中的伪代码中演示了。
The simplest flow control statement is the if statement, whose basic syntax is demonstrated in the pseudocode shown in Listing 4.
这个程序的伪代码几乎与其scheme实现完全相同。
The pseudo-code for this program almost identically matches its Scheme implementation.
这里的叙述帮助解释图2所示的已编号的步骤(应用程序伪代码在清单1中给出)。
Here is narration to help explain the numbered steps shown in Figure 2 (the application pseudo code is shown in Listing 1).
这段伪代码不仅是可能的,而且是一些JIT编译器上真实发生的。
This pseudo code is not only possible, but is exactly what happens on some JIT compilers.
那我现在在伪代码的哪一行呢?
清单14用两个规则的定义的伪代码演示了这种情况。
Listing 14 demonstrates this situation with pseudocode for the definition of two rules.
有些程序员在他们开始编写程序之前会编写一些伪代码。
Some programmers write pseudo-code before they begin writing their program.
清单2中提供了一个简单的伪代码例子。
继续上课,刚才我们只写了一个伪代码,或者说简单地过了一下。
Alright, we are back so we just wrote a programming pseudocode or walk through a programming pseudocode.
清单1中假定的示例(伪代码)和下面的清单2更清楚地说明了这一点。
The hypothetical sample (pseudocode) in Listing 1 and Listing 2 below make it clearer.
为了使代码清晰,这里只给出了访问和操纵CM用户组的代码,并且有些地方用伪代码替代。
In order to keep the code clear, only the code that accesses and manipulates CM user groups is provided, and some parts are replaced by pseudo code.
逻辑的其他部分是伪代码,读者可以推导出功能所需的标准代码。
The rest of the logic is pseudo-coded with the assumption that the reader can extrapolate the standard code expected for that functionality.
然后是养成用伪代码,来帮助你定义控制流的习惯。
And get into the habit of using it to help you define what is the flow of control.
为了更好地理解这个解决方案,让我们考察一个使用伪代码的例子,该例子首先使用传统方法,然后使用集中的解决方案。
To better understand the solution, let's see an example using pseudo-code, first with conventional approaches, followed by the centralized solution.
我们可以将上面的过程看作是一段伪代码。
清单10提供汇编语言伪代码。
From an assembly language perspective, Listing 10 provides the pseudo-code.
下面是这个函数的伪代码和实际代码。
代码引用被有意解释为伪代码(pseudo - code)。
The code references are intended to be interpreted as pseudo-code.
下面是一个调用事务定时器的范例伪代码,以显示正确的用法。
Here is some example pseudo-code for calling a transaction timer that shows correct usage.
应用推荐