This is saying, that's a class, true or sorry, an instance of a class, and I'm going to get the x value associated with it.
那么两个点是同一个点,我会返回,注意格式,这儿的意思是,它是一个类,噢对不起。
p1 But if I say, are p 1 and p 2 the same point, it says yes.
和p2是不是同一个点,It,says,no。,返回的结果是肯定的,在这里我有个要强调的点,这个例子里发生的是。
They'll keep trying to get it going, but maybe we should move on with our lives here while this is happening, and we'll click it back at the end, and if we have a nice set up at any point, I'll just stop and we'll go back and we'll look at it again.
它们会一直让它保持运动,但是或许我们应该,在这个过程中离开一会儿,我们在最后点击它,如果我们在每一个点,都有一个好的装置,我就会停止然后,返回再去看看它。
And this is now a program that's web based, it's SMS based, it's voice based and it used to be Linux based as you'll see in a couple of weeks and it's just a program thatlet's you click where you are, click where you wanna go and voila, here are the next several shuttles that you can take.
这个程序现在是可以用网络访问的,可以用SMS的,可以用语音访问的,而且它曾经是Linux下的程序,你们几周后就会看到,它是这么一个程序,你可以点击确认你现在的位置,然后点你想要去的位置,然后程序会返回给你你能做的班车。
The version in the handout, what was that actually doing?
比另外一个点大的话,我将会返回这些值?
I'm taking advantage of the fact that start is going to be a point, and I'm just directly saying, John give me your x-value.
我利用了开始是一个点这个事实,然后我就直接说,返回给我你的x值,因此我不知道。
Now, I prefaced this a few minutes ago about saying Professor Guttag wasn't going to like me.
结束点返回x坐标,然后把它们加起来。
Another way of saying it is, I've actually said, what did I use there, and , It's basically saying there is the first point, there's the second point, add them together and I get that point.
我要去做的是-对不起,再运行一次-好,你可以看到我已经把,这两个点的坐标值加到一块儿了,然后返回了r的值,我会让大家看到我们,实际上得到的是什么,这看起来不错,好,我做了正确的操作。
应用推荐