Begin with a simple program that reads in a filename from the command-line.
首先从一个简单的程序开始,该程序从命令行读入一个文件名。
Listing 1 shows a very simple program that simply exits with an exit code of 2.
清单1给出一个非常简单的程序,它的作用仅仅是使用退出码2退出。
This application is a simple program that creates and edits lists of names.
这是一个简单的应用程序,用以创建和编辑名字清单。
Installing a simple program on a computer, she said with a laugh, "is quite a bit easier."
现在只需要在笔记本电脑上安装一个简单的程序就行了,她笑着说,“这样就简便了许多。”
So, take a look at how a simple program is constructed to perform processing tasks on the SPE.
因此,让我们来了解一下简单程序是如何构造来在SPE上执行处理任务的。
Listing 3 is a simple program to print the log-base 2, 10, and e of the integers from 1 to 100
清单3是一个简单程序,它输出整数 1 到 100的以2、10和e 为底的对数
A simple program architecture would naturally mix the business logic with data access logic (like SQL).
简单的程序体系结构会自然地将业务逻辑和数据访问逻辑(如sql)混合。
The first example is a simple program that prints Hello World on the screen, but with a slight variation.
第一个例子是一个简单的程序,它将在屏幕上打印hello World,但稍微有些变化。
Listing 7 is a simple program to read and print out the contents of the database, sorted by the name field.
清单7是一个简单的程序,它从数据库中读出数据的内容,并将其打印到屏幕上,在打印时对name域进行排序。
Even a seemingly simple program can have hundreds or thousands of possible input and output combinations.
即使一个看起来非常简单的程序,其可能的输入和输出组合可达到数百种甚至数千种,的组合。
It's a good idea to write such a simple program initially, just to prove you can get some data from the server.
一开始先编写这样一个简单程序是个好主意,因为只想证实可以从服务器得到一些数据。
Let's take a look at a simple program that will create a database table and populate the table with data values.
让我们来看一个简单的程序,它能创建一个数据库表并填入数据值。
The sample application includes a simple program you can run to encode a given input string. To encode a username.
示例应用程序包括可以运行以编码给定输入字符串的简单程序。
Listing 1 demonstrates this technique with a simple program to print the encodings of all URLs given on the command line.
清单1通过一个简单的程序说明该技术,输出命令行中给定的所有url的编码。
Using an updated Linux kernel with the HDAPS driver, you can use a simple program called knockAge to generate knock codes.
使用带有HDAPS驱动的已更新的内核,我们就可以用一个简单程序knockAge来生成敲打代码了。
However, the m17n software development kit (SDK) does include a simple program that displays files in a variety of encodings.
然而,m17n的软件开发包(SDK)确实包含了一个简单的程序,它可以使用各种编码来显示文件。
Using just these attributes, you can construct a simple program that animates changes to the width of a view, as in Listing 4.
通过使用这些属性,可以构造一个简单的程序,该程序以动画效果改变一个视图的宽度,如清单4所示。
This article presents a new twist — knock codes — and a simple program to run commands when specific knock codes are detected.
本文将展示“敲打代码”这种新技术和一个简单程序,该程序在检测到特定的敲打代码时会运行一些命令。
For the purposes of describing where to put the probes, we're going to look at a simple program for determining prime numbers.
为了说明把探测放在什么地方,我们来看一个用于判断素数的简单程序。
I'll use the "Hello World" program to illustrate the creation of a simple program to emit a simple text string to the display.
我使用“Hello World ”程序演示如何创建简单的程序,将一个简单的文本字符串发送到显示器。
This communication approach has the following advantages: high reliability, low cost, simple program, easy to use and maintain.
该方法具有可靠性高、成本低、程序简单、使用维护方便等优点。
It's an incredibly simple program: The site has a white page with a single task written on it (you can change it to your own tasks).
这是一个难以置信的简单程序:网站提供了一个空白页面,上面只写有一个任务(你可以将其修改为自己的任务)。
A illustration shows this method has many advantages, such as simple program, less input data, high accuracy and good practicality.
文中通过算例说明本法具有程序简单、原始输入数据少、计算精度高和实用性强等优点。
The default settings use the most conservative options and work fine for a simple program, such as the sample included with this article.
缺省设置使用最保守的选项,适用于简单的程序,如本文附带的示例。
When asked, he tossed out an estimate for his take from sales of the app, a simple program that shows train schedules: “$1 to $2 per day.”
当被问到,他拿出他自己为他的应用销售情况的估计,一个简单的显示列车时刻表的程序:日入1-2美元。
The working effect of analog software is true to actual machine, it can operate simple program, and extract the point coordinate index.
开发出的软件运行结果与实际机构动作逼真,而且能够以简单程序操作,求出所需点的坐标值。
It is unusual to view the XML file as it stands. Instead, people use a so-called feed reader, a simple program that reads and formats the feed.
很少有人按原样查看XML文件,大多数人都会使用所谓的提要阅读器——一种简单的程序,用于读取和格式化提要。
You can use the macro editor to edit the content of the module to add the simple program code, and then you can save the new module with the macro.
您可以使用宏编辑器编辑模块内容,添加简单的程序代码,然后使用宏保存新的模块。
Objective Describes how to improve the efficiency of PET/CT image post-processing by developing a simple program running in PET/CT workstation.
目的在PET/CT工作站开发第三方辅助程序,以改善日常PET/CT检查图像后处理工作流程,提高工作效率。
Objective Describes how to improve the efficiency of PET/CT image post-processing by developing a simple program running in PET/CT workstation.
目的在PET/CT工作站开发第三方辅助程序,以改善日常PET/CT检查图像后处理工作流程,提高工作效率。
应用推荐