Number one, the basic structure is that you have a pointer and it points over to a pointee, but the pointer and pointee are separate and the common error is to set up a pointer but to forget to give it a pointee.
第一,基本结构是,你有一个,指向数据的指针,但是那个指针和数据,是分开的,通常错误是声明了一个指针,但是没有指向一个数据。
A couple of announcements before we get started: tomorrow there will be a 10 minute quiz in recitation based upon the content of homework one.
在我们开始之前有几点声明:,明天会有一个10分钟的小测验,详细叙述课后作业内容。
Every sentence is a predication, and if every sentence is a predication, it also has the structure of a metaphor; and the metaphor in a sentence and the predication in a sentence are always going to be at odds.
每句话都是一句声明,而如果每句话都是一句声明得话,它同样也有隐喻的结构,而一个句子中的隐喻,和句子中的声明总会有分歧。
And so we saw that as well, the last piece we had here is the ability to create variables, which have their own values, and that's done using an assignment statement.
我们也可以看到,这里我们最后的是,创建了一些变量,这些变量都有自己的值,这是运用了赋值声明来完成的。
There are philosophers-- and here I'll tip my hat and say, I'm one of them--there are philosophers who believe that, in fact, the idea of free will is not incompatible with determinism.
有哲学家,这里我要对他们敬意并声明,我也是他们中的一员,有哲学家相信,事实上,自由意志的观点,和决定论并非是不相容的
He had this thing called the drunken assembly, which was in a way kind of a mockery of parliamentary representations where his cronies would come and just get wasted and would make all sorts of flamboyant proclamations that seemed to represent what a real parliament would do.
他有个被戏称为"酒鬼议会"的东西,这个"酒鬼议会"是对议会代表们的嘲弄,他们也会开会,但不过是浪费时间,还发表一些冠冕堂皇的声明,就好像一个真正的议会似的
So in return to, we have a slight variance here, -- where I'm defining apparently -- declaring a function called cube.
作为应答,这里我们有一点变化,这里我显然定义了-,声明了一个叫做cube的函数。
We have this one parting gift-- just a little legal waiver for the cameras if you would.
我这有份临别赠礼-,准许我们使用您肖像权的声明,希望您笑纳。
It makes sense to me logically that I want to see it first when I open the file; so I scroll on down but only later is increment declared.
这个逻辑上对我是有意义的,打开文件的时候,我想先看到它,所以我向下翻,之后才声明increment函数。
I don't have to put an init in, but it's again, usually a good idea to put that in originally.
类定义内做些什么其他的东西呢?,好,在两个例子里,我都有init声明。
I have a sequence of commands; I've got an assignment statement, I've got another assignment statement, I've got a print statement, I've got an input statement, which we'll come back to in a second.
这是一系列的命令;,我有了一个赋值声明,然后是另外一个赋值声明,还有一个print声明,然后是一个input声明,我们稍后会讲讲这个生命。
I've got and init that says, when you create an instance, here's what you do.
我并不需要一定要有init声明,但是这是,再说一次,通常来说把init声明一开始。
int Y Well, I said int X and int Y; so that gave me one square here called X, one square here ; or wherever, called Y, done, one was put in here; two was put in here, and then I called this function swap.
好的,我声明了int,X,和;,然后我这里有个正方形叫做X,一个正方形,叫做Y,完成,1放在这里;,2放在这里,然后我调用这个swap函数。
应用推荐