The square brackets here, meanwhile, say this is a special type of variable that's got multiple values inside of it.
这里的这个方括号,同时,说明这个是特殊的变量类型,里面有很多复合的值。
Expect the address of an int but here in the context of the function itself inside the curly braces, it means go to that address.
一个整型数的地址,但是在函数,大括号中的环境中,意思是定位到那个地址。
If I get a liver transplant, so here I am and we take out my liver and we put Johns' liver inside.
如果我接受了肝脏移植,我的肝脏被拿出来,把约翰斯的肝脏放进去。
So let's look at a little example, and this is going to, excuse me, both allow us introduce the syntax as well as what we want to have as the flow of control inside of here.
让我们看个小例子,这个程序会,对不对,请允许我,一边顺着控制流进行,一边讲解语法。
Here the unique thing was that there's a restriction site inside that is present in normal DNA and not present in sickle DNA.
刚才例子中,特性就是在正常的基因中,有酶切位点,而在患者的基因中却没有
And the work in this case is the area inside here.
现在的功是这个区域内部的面积。
Inside here you have electronic states.
更本质的原因是电子的状态。
I've been using the blackboard a little ad hoc here, but suppose I neaten things up here now and present this rectangle is let's say R RAM, the memory inside of your computer.
我在这里特别地使用这块黑板,假如我整理这些东西,把它们呈现,这个长方形,假如说就是内存,你电脑的内存。
You can say if this is true, then go and do the following pieces of code or puzzle pieces that are inside this part of the block, else go ahead and do these that are down here.
你可以说如果条件成立,执行下面的代码段,或板块中的拼图,否则跳过去执行这下面的语句。
One of the things that I defined inside my class definition here was an internal method.
就是这里的内部方法,这个方法有个名字,这很明显,那么这个方法。
One can imagine that when they're inside this tube here, they're still really outside the body.
你可以想到当食物在肠管的时候,实际上还是处在体外的
I need a contract that says, here's what I want in terms of things that you're going to take as input, to begin your part of the drama, here's what you're going to produce at the output, and the details of what they do inside are up to them.
这些作家相互沟通进行工作呢?,我需要一封规格说明书,我需要一份合约,上面列出了我想要你做的事,这些是你要再开始时做的输入,这些是你要的输出,细节工作就取决于它们了。
For this particular cell here it looks like it's about -75 millivolts, so the inside of the cell is a little bit more negative than the outside.
这个细胞的膜电位是-75毫伏,所以细胞内侧跟外侧比起来电势要低一些
Now what I want to do is put up a specific example of the cycle that can be undertaken inside here in an engine, and we can just calculate from what you've already seen of thermodynamics.
现在我想做的是,举一个例子,来具体说明热机内部的循环过程,同时我们可以利用热力学定律进行计算,看看热力学参量发生了什么变化。
Which is, and we're going to do some examples of this, initially we just typed in expressions Python into the interpreter; that is,directly into Python And as I suggested last time, the interpreter is actually a program inside of the machine that is basically following the rules we're describing here to deduce the value and print it up.
也就是,我们将会对这一点讲解一些例子,一开始我们只是简单的把表达式输入,到解释器里面去,也就是直接传给,我上次跟大家讲过,解释器实际上是,机器内置的,按照我们描述的规则,来推算出结果值并把值显示出来的一个东西。
And remind you that inside of here, I'd better be changing the variable. All right, if that variable that's counting is not changing I'm going to be stuck in an infinite loop, so I ought to that, right, expect somewhere in there, a change of that variable. All right?
我最好改变了计数器的变量值,好,如果计数的变量没有变化的话,我就会被卡在一个无限循环里面,因此我应该【不可闻的声音】,对,在这里的某个地方,改变下计数器的变量,对不对?我要做的最后一件事情就是?
The value 2 is still in what we called Y. It's now also in what we called X, but notice inside of main and here's the power.
数值2还是在y中,现在,它也在x中,但注意在main中,这是那个能力。
On the side over here shows a cell membrane and so this is outside the cell above it, and this is inside the cell below, and this is the lipid bilayer that separates the outside of the cell from the inside of the cell.
这边这个表示细胞膜,它的上面代表细胞外部,下面代表细胞内部,这个是脂质双分子层,将细胞内外分开
Our piston on the right side here fully out, and the piston on my right side, your left side, fully inside. There's no gas p1 on that side here. So there's p2 sitting here.
左边的这个活塞完全在外面,而右边的左边的这个活塞完全在里面,这边没有一点空气,这边是P2,这边是。
So what's going to happen here? If I'm inside this FOR, OK, and I'm running around, if I ever hit a place where this test is true, I'm going to execute that return, return that return returns from the entire procedure. OK? So the return comes back from the procedure.
那么这里发生了什么呢?,如果我是在这个for循环里面,我正在运行,如果我运行到test的值为真的地方,我就会执行,这个return将会返回整个程序的值,明白了吗?所以它将会从整个程序中返回值。
But notice what's inside if here.
但是注意在if语句中的内容。
Once I've got that, you notice I can now define a polar point, same way. Notice I've now solved one of my problems, which is, in each one of these cases here, I'm creating both x y and radius angle values inside of there.
你们注意到我现在可以,定义一个极坐标点了,以同样的方式,请注意到现在,我已经解决了我的问题之一了,也就是,在这些例子中的每一个,我在里面都创建了x,y值。
应用推荐