If you're writing a program and you're testing it and recompiling.
如果你写一个程序,检测,然后重新编译。
Writing a program to find the largest in a series of Numbers.
编写一个程序来找到最大的一系列数字。
In such cases, writing a program to build static data tables is usually your best answer.
在这种情况中,编写一个程序来构建一张静态表通常是最好的解决方案。
When you are writing a program, it is always clear and self-evident what you are trying to do.
当你正在编程序时,总是试着使它清晰自明。
So it turns out that, main, yes, is the default function you write, at least in c, when writing a program.
结果是,main函数,是的,这是你写的默认函数,至少是在C语言中,当写程序的时候。
Why would a high-level language not be an ideal tool for writing a program that directly accesses a particular brand of printer?
为什么高级语言不是编写直接访问某一品牌的打印机程序的理想工具。
Instead of writing a program for thousands of different machines, developers could write it once for Windows and have it run on every PC, no matter who built it.
开发人员不必面对上千种不同的机器,只需针对Windows写一次程序,就可以在每一台个人电脑上运行,不管是谁造的。
From watching the video to building an electronic board and writing a program for it, Lin spent an entire month bringing Crazyer to life. His hard work paid off.
从看视频到做电路板,再到给它写程序,林海花了整整一个月的时间,最终发明出“酷乐宅”。他的努力没有白费。
Or worse, imagine that you're writing a program, and as you're building it you add a new class to your library that conflicts with the name of an existing class.
或者更糟,假设我们准备写一个程序,但在创建它的时候,却向自己的库加入了一个新类,它与现有某个类的名字发生了冲突。
By 10th grade he was teaching computers and writing a program that handled class scheduling, which had a secret function that placed him in classes with the right girls.
到十年级时,他开始教授电脑课,并且设计了一个解决排课任务的程序。其中有个很秘密的作用,将他和一些好女孩分在了一起。
If you're writing a program that has to work very closely with a program written in a certain language, it might be a good idea to write the new program in the same language.
如果你的程序要和另外一个用某种语言写的程序打交道,那么通常新程序采用同样的语言是个好选择。
The important thing to realize in programming is programming is not just about writing a program that the computer understands. Programming is about writing programs that people understand.
对编程至关重要的是,不仅仅写出计算机能够读懂的程序,更要让人读懂。
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.
可以编写一些简陋的程序来满足那些简单的示例,对比程序的输出和示例的答案,这样你就可以确认自己理解了题目的要求,并且找到正确的方向。
We then examined a specific instance of table-building and went through the motions of writing a code-generating program to build static tables in c.
然后又介绍了一个具体的构建表的示例,并介绍了用c编写这样一个代码生成程序来构建静态表的详细过程。
Continuous writing to a disk can largely degrade the performance of a program, causing it to run slowly.
持续地对磁盘进行写入操作可能会极大地降低程序的性能,导致其运行速度缓慢。
So the first thing a programmer should know before writing or debugging a program is the program's requirements.
因此,程序员在编写或调试程序之前首先应该知道的是程序需求。
Writing effective timer-driven managed code requires a clear understanding of program flow and the subtleties of the.net threading model.
写一个高效的定时器驱动型可管理代码要求对程序流程有一个清晰的理解及掌握。NET线程模型的精妙之处。
Specifically, you're probably writing code that looks something like Listing 1, a fragment from a program that parses an XML document using SAX.
明确地说,您也许正编写与清单1相似的代码,使用SAX解析xml文档的程序的一个片段。
The real hard work in writing a parallel program is to make N as large as possible.
在编写并行程序时真正困难的事情是使N尽量大。
When writing a DB2 program, update the values on the DB2 tab as shown in Figure 14.
在编写DB2程序时,更新 DB2选项卡上的值,如图 14 所示。
In a thread-safe program, only one writing thread can modify the variable; other threads can read the up-to-date value by declaring the variable volatile.
在一个线程安全的程序中,只有一个写线程能够修改这个变量;而其他的线程则可以读取volatile声明变量的最新值。
LabVIEW makes parallelism so easy that you may not even be aware that you're writing a parallel program.
LabVIEW能够简化并行操作,您也许甚至都没有意识到您正在编写一个并行的程序。
"The earliest program I remember him writing was a game program that dealt with landing on the moon," says Brian Kiehnau, Katz's former brother-in-law who met him in 1977.
“我记得他最早写的是一个处理月球着陆的游戏程序,”Katz以前的堂兄弟BrianKiehnau说,他在1977年见到过Katz。
This story is probably familiar: you're writing a test program and you need to pause for some amount of time, so you call Thread.sleep .
这样的情景您也许并不陌生:您在编写一个测试程序,程序需要暂停一段时间,于是调用Thread . sleep 。
There is another option involving writing a JMX program that USES the AppManagement Mbean, which enables you to run multiple instances of the JMX program in parallel.
还有另一个选项涉及到编写使用AppManagementMbean的JMX程序,它使您可以并行运行JMX程序的多个实例。
It will be gone when the program finishes if you do not take steps to save it (such as writing it to a real file, or using the shelve module or a database).
如果不保存它(如将它写入一个真正的文件,或者使用shelve模块或数据库),则程序结束时,它将消失。
It would be better if you could give this constant a name and then use it everywhere in the program. You could, of course, simply declare it as a local variable by writing.
这样的话,如果可以给这个常量一个名字,然后在程序所有需要的地方通过名字来使用这个常量,将会非常方便。
If your program does file manipulations, you might consider writing a small server that handles these operations atomically, and thus guarantees serialization.
如果程序要进行文件操作,那么可以考虑编写一个小服务器,让它自动地处理这些操作,并由此保证操作的串行化。
If your program does file manipulations, you might consider writing a small server that handles these operations atomically, and thus guarantees serialization.
如果程序要进行文件操作,那么可以考虑编写一个小服务器,让它自动地处理这些操作,并由此保证操作的串行化。
应用推荐