Originally, we thought it's information needs only; we just need to find a web page that contains the query word, but it's actually not.
起初,我们以为人们只是需要信息而已;,只需找到一个带有关键字的网页即可,但实际上并不是。
We could certainly implement this much more efficiently by just writing this one line of code, but, again, the key here is to take this step toward decomposing our code into chunks of code.
我们可以写这一行代码,使代码的执行更有效率,但是,这个关键字用来把我们的代码分解,成一段段的。
And what do I do if I get a key error?
如果我得到了关键字错误该怎么办呢?
This is a search box that every Chinese is familiar with, but when you look at people's needs, people are typing all kinds of queries in this box. For example... "A great MP3", "Where can I find a girlfriend in Beijing?"
这是一个中国人都很熟悉的搜索框,但是当关注到人们的需求时就会发现,人们在框中输入,各种关键字。,比如,“听起来让人觉得开心的MP3“,“北京哪里能找到女朋友结婚?“
And it also allows us to look for certain key words and themes.
它也允许我们查找,特定的关键字和主题。
If not I'll get a key error.
如果不在,我会得到一个关键字错误。
But it's the really correct way to specify that this function takes no arguments is to actually write this key word "void."
但是这的确是正确的方法来指明,这个函数是没有参数,实际上是写了这个关键字“void“
Is there a key word like int or char double with which you can represent a 1024-bit value?
有一个像int,char,double这样的关键字,用来表示一个1024位大小的数值呢?
And in Scratch did you probably see the key word "and" on one of the blocks.
在Scratch中,你们大概看到那个关键字,“and“在其中一个程序块中。
int No. Even though the key word has changed from char to int, the * is the same and the fact that I've got a * there is saying this is a pointer to an int or a pointer to a char pointers are always the same size on a computer.
不,即使即使关键字从char变成了,指针的大小还是一样的,我用*表示这是一个int型指针,而不是char型指针,在同一台机子上,它们的大小是一样的。
And then there's three parts to the parenthesis after the key word "for."
然后在for关键字后面的括号里,有三个部分“
So I'm saving this file, notice there is a few keywords that we'll come back to next week like main which is kind of the main part of my program.
保存此文件,注意这有几个关键字,我们在下周介绍,比如代表程序主体部分的“main“
应用推荐