Who was also one of the word's first programmers. So she was trying to write this program, and it didn't work.
也是世界上最早的几个程序员之一,她正尝试着完成一个,复杂的求反正切的程序。
Probably I shouldn't have said it's a two-step process 'cause it's a three-step process to actually write and run it, and the third step is just going to be to run it.
也许我不应该说它是个两步完成的程序,准确来讲,应该是三步,前两步--写,第三步--运行。
Second thing we've got to worry about is, what's a basic step? All right, if I bury a whole lot of computation inside of something, I can say, wow, this program, you know, runs in one step. Unfortunately, that one step calls the Oracle at Delphi and gets an answer back. Maybe not quite what you want.
我们需要担心的第二件事情就是,什么该作为一个基本的步骤呢?,如果我把一大堆的计算过程放到里面,我可以说,噢,这个程序你知道的,一步就完成了,不幸的是,这一步可能要靠预言家才能得到答案,这可能跟你想要的结果不太相同吧。
So writing a program at least in this language is a two-step process.
用这种语言写一个至少需要,两步完成的小程序。
How is it attempting to work?
它是怎么完成运算的?这个程序现在?
But that little short hand there is doing exactly the same thing. It is adding that value into some digits and putting it back or signing it back into some digits. And I'll walk through that loop and when I'm done I can print out the total thing does. And if I do that, I get out what I would expect.
加上得到的这个数的,但是这个缩写声明其实是进行了同样的操作,它把我们得到的这个数加到一个数上面去,然后用和对这个数进行了重新赋值,在循环中会去遍历字符串,当完成循环后,程序会显示数字的总和,如果我运行,这个程序的话,我会得到我期待的结果。
Now, as we know, and by the way we're not going to write a perfect simulation here, because we're going to try and do it in 40 minutes, or 30 minutes.
现在u,我们知道,我们并不是要写一个,完美的仿真程序,因为我们得,在40或者30分钟内完成它。
应用推荐