And by the way, we, the people of progress, are rooted in those principles of the Declaration of Independence" which are written down essentially as creeds "And, oh and by the way, we have a written Constitution we actually wrote it down, we have a Bill of Rights where we declare these things on paper, unlike the Brits."
顺便说一下,我们,作为进步的人类,是独立宣言的主旨",它被写成文字,作为信条,"顺便再说一下,我们还有一部成文大宪章,我们把它写下来,我们有《人权法案》,一切白纸黑字申明清楚,不像那些英国佬"
int Let's instead declare another int just as we've been doing all this time.
我们声明另外一个,就像我们一直做的那样。
Well, we know how to declare variables here.
好的,我知道怎么样去声明变量。
What's going on underneath the hood is we'll see pictorially X today is that when I declare this X, this variable X here.
底下所做的,我们将看到,当我声明这个X,这个变量。
And actually, if I don't want to clobber, as we say, overwrite the value of my variable, ; I could declare another one and store the return value in Y; Y so now I have two ints in memory; X and Y, 3 one with two, one with three.
实际上,如果你不想彻底清除,像我们说的,覆盖那个变量的值,我可以申明另一个变量Y,并在Y中保存那个返回值;,现在内存中有两个int数,X和,一个的值为2,一个为。
So there's no mention of int, and yet we've been saying for the past couple of lectures, that anytime you declare a variable, you absolutely have to specify its type.
这里没有提及int,我们在前几个演讲中,一直讨论的东西,任何时候你声明一个变量,你必须指定它的类型。
So declare as we'll say a variable, a placeholder called counter.
首先要定义一个名为counter的,变量。
应用推荐