Minnesota Public Radio does a fabulous hour-long program.
明尼苏达公共电台录的一小时节目就很棒
it's a two-and-a-half-year-long program that mixes biology, chemistry, physics and computer science together.
这门课是一个两年半的项目,涵盖了生物学、化学、物理学,还有计算机科学。
That didn't work. Well they couldn't figure out what was wrong. And they spent a long time trying to debug the program.
调试这个程序,那时候当然不叫调试了,然后他们发现了问题。
And in social security, I thought, we had the right plan for dealing with the long-term crisis that the program is in.
我认为在社会保障项目方面,我们拥有正确的计划应对,这一项目面临的长期危机。
So in a sense, that's a good infinite loop that is as long as you're using the program, it's constantly checking your grammar and spelling, and underlining things, so infinite loops aren't necessarily bad if the objective is actually being met.
因此从这个意义上说,这是个好的无穷循环,只要你开始使用这个软件,它不停的检查你的语法,拼写或者下划线等,通过这种方式达到目标的时候,这样的无穷循环并不总是坏的。
How many Islamic chaplains would you say there are in America, how long has this program been happening, and how many classmates do you have?
你认为在美国,有多少伊斯兰教的教士?,这个项目有多长时间了?,你又有多少同学呢?
And the obvious question I could start with is, and suppose I ask you, how long does the algorithm implemented by this program take to run?
我开始这个话题的第一个问题是,假设我问你,由这个算法实现的程序大概,要运行多久才能给出答案?
Said a different way, in the case of the straight-line programs, how long would it take to run a program?
换种说法,在直线式程序里面,运行一个程序要多长时间?
Well, there's a chunk of memory called the heap that you can grab as much memory as you want so long as it exists for your program.
好的,这里有一块叫做堆的内存,这样你就可以获得你想要那么多的内存,因为它为你的程序而存在。
- So in fact, if you want a super long number -- -- let me go ahead and reopen this program -- long you could declare long.
所以事实上,如果你需要一个超级长的数字-,让我们继续重新讨论这个问题-,你可以声明。
This program is not too long.
这个程序不是很长。
long l So let me try this, long l, and then let me do a little Copy Paste here and say a long is actually the size of l. So let me quit that program; recompile.
让我们来试一下,然后我在这里复制粘贴一下,这里long的大小实际上是l的大小,所以让我退出,那个程序,重新编译。
应用推荐