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.
一个特定的版本,我现在命名了一个内置变量,并给它赋值了,我刚刚做的也就是给它。
You can even implement your own versions of some of the most popular console games today for which I need another volunteer.
现在你就可以编写程序,把当下最流行的控制台小游戏,改造成自己的版本,现在我需要再上来一名志愿者。
Now, I put a version up there, I have no idea if this is the right way to do comparisons or not.
现在,我把一个版本放在这里了,我不知道这是不是,做比较的正确方法。
just like the line numbers in any modern edition of Milton that's been produced for the likes of you, for the consumption of college English majors.
跟现在版本的弥尔顿诗歌标有行数一样,这是为像你们这样喜欢弥尔顿的人而印上的,还有大学里英语系的学生们。
Now the murder of Abel by Cain is followed by some genealogical lists.
现在该隐杀亚伯有了后续版本。
So now when I compile this fourth version with make math4 1 31 and then run math4, I indeed get 1.31.
所以现在我键入“make,math4“来编译第四个版本4,然后运行math4,我得到了。
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.
你可以在那里看到那些,代表笛卡尔坐标点的东西,如果我想要得到现在,这个类的版本的东西的话。
Now this version is arguably a little better in that it's just a little more clear.
现在这个版本是可以证明是更好点的,因为它更清晰一点。
What have we done? We've now got a way of collecting things together, right? And this is the first version of something we'd like to use.
用的一些东西的,第一个版本,现在我已经把它和,一个名字进行了绑定。
I'm going to call it c point just to make it a little shorter.
但是现在我要去对它做一些改动,那么新版本的类的意思也就是。
For now the way to think about this is, cp2 when I call that class definition, it goes off and allocates a specific spot in memory that corresponds to that instance.
这个语句所做的,就是建立了,这个类型的实例cp1和,这个类型的特定版本,现在你们可以这么认为。
应用推荐