But we know already from week zero that computers ultimately represent all information with numbers, and if they want to represent letters inside memory, well what do they do or what do they use?
但是自从上周我们已经知道,计算机最终是用数字来表示所有的,信息,如果它们要描绘,在内存中的字母,它们该怎么做,用什么方式呢?
Use this pattern when you wish to express what you are doing right now.
当你想表达目前你正在做什么的时候,你就可以用这个句型。
Otherwise, what was the point of getting a string from the user if I'm not handed the result to actually do something interesting with.
否则的话,它不把值带给我们,我们就做不了想做的事情,那我们还要它有什么用呢?
We want it to be about how people are using it and how people are fitting it into their lives and what they're doing with it.
我们想让它成为关于,人们怎样使用它和人们怎样,让它融入生活,人们用它做什么。
Well one thing I might want to do is say, is this the same point or not?
我们可以想想可以,用这些点来做些什么了?
He's under the greatest pressure of his life to do something with his talent.
他承受着一生中最大的压力,需要用自己的才能做些什么。
You could ask them what they want to do by using this pattern.
你可以用这个句型来询问他们想做点什么。
when I don't know what they'll do with it.
因为我并不知道他们会用这一美元做什么。
When you‘re discussing your situation with a friend, you could tell them that you were doing this by using the "I'm ~ing" pattern.
当你跟一个朋友谈起你的情况时,你可以用“I'm ~ing”句型告诉他们你在做什么。
I've added the ability to have more complex data structures here. But I dropped a hint in the first lecture about what you could computer with things. In fact if you think for a second about that list, you could ask what can I compute with just that set of constructs?
我添加了使用更复杂的数据结构的能力,但是我在第一节课给大家了了一个,关于你可以用什么来做计算的暗示,实际上如果你思考,这个列表一会儿的话,你会问我可以用?
Now what do I do with that?
现在我要用它来做什么呢?
Well, I now have two blocks interlocked and you can pretty much guess what this is gonna do.
有两个相互联系的块,你能很容易地猜到这是做什么用的。
I might want to get the length of the segment.
用这些线段来做什么呢?
It is. It's drawn like an array, it effectively is an array so bracket zero means go to the zero's location in that array, which happens to be F and do what with it?
它看起来像个数组,实际上也是一个数组,所以【0】就是定位到那个数组的0的存储单元,对于f发生了什么?用它做什么?
What do I have here? I need the variable, ANS, ANS I need x, and I need ANS times ANS, ANS times ANS. Right. Those are the three things that are involved in this computation.
因此让我先用这个方法做吧,我这里需要什么呢?我需要变量,还需要x,然后将ANS乘以ANS,对,在这个计算中涉及到了三件事情。
You can use "Do you" when you want to find out if somebody wants to do something,
你可以用“Do you”来了解其他人想做什么,
应用推荐