All right, c p 1 dot y, x I've said assign that to the value 2, 2,0. So now c p 1 has inside of it an x and y value.
一个特定的版本,我现在命名了一个内置变量,并给它赋值了,我刚刚做的也就是给它。
If I want to get out right now the versions of these things, I can ask what's the value of c p 1 x, and it returns it back out.
你可以在那里看到那些,代表笛卡尔坐标点的东西,如果我想要得到现在,这个类的版本的东西的话。
He still incurred -C because he ran and he also has a cost of |x-y| because he doesn't like Mr. Y winning.
他同样有-C的收益因为他参加了竞选,且他还有|x-y|的成本,因为他不喜欢Y先生获胜
You'll put time t=0, x doesn't have this term, doesn't have this term, and it is c.
你令时间t=0,这一项就消失了,这一项也是,只剩下常数c
X That's just the special symbol in C that says don't pass X, that is don't pass a copy of X. Rather figure out where x is in memory, where he is in that frame and provide swap the numeric address in RAM of that value so that swap can go do anything it wants at that address.
这在C中是一个特殊的符号,指明不传送,也不是传递X的拷贝,而是指出x在内存中哪个地方,它在那个框架中的哪个地方,提供给swap它的地址值,这样swap就可以使用那个地址中的数据。
In which I said c p 1 dot x equals 1.0.
请注意我上面是怎么做的,创建了cp1和cp2后。
So let me go back now to this expression, x=at^/2+c+bt.
让我们再回到这个式子,x=at^/2+c+bt
So when I type, I'm sorry, I shouldn't say type, c point although I would have typed it, p dot x, here's what basically happens.
处于特定点的实例的这个概念,我知道它来自于这个类,这个类,when,I,write,因此当我输入,抱歉,我不该说输入的,当我写,虽然我需要输入它,p,x的时候。
应用推荐