I know it looks like a simple and silly little example, but at the moment, I still have the ability to go in and change the values of the parameters by that little definition.
很简单的有点儿蠢的例子,但是现在,我还是可以通过,一个简单的定义声明,来进去改变参数的值,这样就没意义了,这是因为我并没有用一些。
Because I could've built that in, it says if you change the value of this thing, by the way you need to change recompute those other values in order to make this hold up.
我想要大家通过定义好的方法,来改变实例的值了,因为我可以把这个功能,内置到方法里面去,它的意思就是如果,你改变一个值。
If God replaces my soul every 10 minutes, as long as he does such a way to imprint the very same personality on the soul, it doesn't matter any more than it did matter or not.
若上帝每十分钟改变一次我的灵魂,以此来将同样的人格,装进我的灵魂里,其实这一点根本,无所谓了。
I went to graduate school of Princeton University in computer science and now i am an assistant professor of Stanford University in the Center for Computer Research in Music and Acoustics My work is reseaching the technology to change the way people go about making music, listening to music and interacting or relating with each other by music.
在普林斯顿大学取得,计算机科学博士学位后,我现在是,斯坦福大学,数字音乐研究,中心的一名助理教授,我的工作是通过研究技术,来改变人们创作音乐,倾听音乐,以及通过音乐,相互交流的方式。
So, main meanwhile is going to change, but let's fast forward to the end just to confirm that all I did was copy and paste what was on the slide a moment ago.
所以,main同时要改变,快速翻到末端,来确认,我刚才所做的就是,在面板上复制粘贴。
So I could get to that object either through this path or through that path, it didn't matter which path I use to modify it, I would see it when I looked at the other. Yes.
另外一条绑定获得这个对象,无论我通过哪个绑定来修改它,我都能在两个绑定中都看到做的改变,是这样的。
I look at the rest of the list, but I've changed the value.
我们再来看看其余的列表,我已经改变的值。
I have to change the prototype of this function to say that swap no longer takes an int per se or another int per se, but rather it takes two pointers, two ints, and in fact, it's on the very last page if you're still flipping.
我改变了这个函数的原型,来说明swap不再携带那两个int数本身,而是携带两个指针,两个整型数指针,实际上,它是在最后那页上。
And then I run a loop in which I read something in, I check to see if it's the right type, if it is, I change that variable to say it's now the correct type, which means the next time through the loop, I'm going to say I'm all set and I'm going to bounce out.
因为我还没输入,然后我运行一个循环,循环内部我输入一些东西,然后看看是不是正确的类型,如果是的话我改变input,Ok为真,来证明输入数是正确的类型,这就意味着下一次运行这个循环的时候,就可以跳出循环继续执行了。
应用推荐