• This is the name to which I'm going to refer when I want to use this function. All right?

    这是我以后使用这个函数式,会采用的名字?

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • For this sprite only, means local, only this function, only this script can use this variable, make this variable for all sprites, meant it was global.

    对于只为一种精灵,意思是局部的,只有这个函数中,这个脚本中才可以用这个变量,这个变量为全部精灵而创建,意思是这个变量是全局的。

    哈佛公开课 - 计算机科学课程节选

  • There's been a lot of work done on these over the years, but in fact, it's pretty hard to invent a good hash function. So my advice to you is, if you want to use something was a hash, go to a library. Look up a good hash function.

    已经做过了很多的尝试和努力,但是事实是,很难发明出一个好的哈希函数,所以我给你们的建议是,如果你们想使用哈希功能,到函数库中查找一个好的哈希函数。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • We can use the Coulomb force law to explain this where we can describe the force as a function of r.

    我们用库伦定律解释它,力作为距离r的函数,让我们考虑一下。

    麻省理工公开课 - 化学原理课程节选

  • Reverse transcriptase is a naturally occurring protein, it has a biological function in HIV, but we can use it for a technical logical function here by going backwards on the biological path from messenger RNA to DNA.

    反转录酶是在自然环境中存在的蛋白质,它在HIV中发挥着生物功能,但在这里它可以发挥一个技术功能,让它用信使RNA反转录出DNA

    耶鲁公开课 - 生物医学工程探索课程节选

  • And henceforth I'm gonna start calling these tools, these monickers that I can use as building blocks in my own program, it's gonna be called a function as we'll see.

    从此以后,我将在我的程序里把这些工具,称为我们可以用来写代码的组件,在我自己的程序中,我们将了解到它被叫做为一个函数。

    哈佛公开课 - 计算机科学课程节选

  • Well, if you want to call a function, it's like putting another tray on that stack of trays and that tray represents a chunk of memory that, that function can use.

    嗯,如果你想调用一个函数,这就像把一个托盘放到另一个托盘上,托盘代表一块,函数可以使用的内存。

    哈佛公开课 - 计算机科学课程节选

  • You try to design actually I'm going to come back to that in a second. It's like you're trying to use a hash function that spread things out pretty evenly. But the places you store into in those lists may have to themselves have a small list in there, and when you go to check something, you may have to do a linear search through the elements in that list.

    你尝试着去设计,实际上过会儿我会回头讲解这个问题,类似于你需要用一个哈希函数,非常平均的将物体分发出去,但是在列表中你数据,映射到的地方可能会有自己的一小段列表,当你回头查找数据的时候,你可能需要在那一小段列表中做线性查找。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • And just as with variables, you should use some common sense, some style here, and the function's name should X Y communicate what it does, calling it X or Y or Z is generally not all that helpful.

    就像变量,你使用一些常识,一些类型,和函数名需要,传达它所做的事情,把它叫做,或者Z通常是没有什么用处的。

    哈佛公开课 - 计算机科学课程节选

  • But long story short, if I want to use a function called sleep, -- the reason I, the programmer, knew to use that library -- -- that header at the top -- because it told me to in this little synopsis.

    但长话短说,如果我想要用一个叫做sleep的功能,我作为程序员知道使用那个函数库-,上面的标题-,因为在这个小的大纲中它告诉我。

    哈佛公开课 - 计算机科学课程节选

  • So before we use printf, a function, and we passed in one input and input henceforth we're gonna call arguments or parameters.

    我们在使用printf函数时,先放进去一个输入,之后的输入我们就要,调用参数了。

    哈佛公开课 - 计算机科学课程节选

  • Actually for that, I can just use, if I'm lucky, function F5, which didn't work, so let me try it again,here we go.

    实际上这一次,我是想用用,如果我够幸运的话,用下F5,噢,怎么不灵,让我再试试,好了。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • So even though increment is obviously increment declared and defined in this function, it's later; so it's too late for me to use it in main.

    很明显,即使在这个函数中,已经声明和定义;,也太迟了,以至于,我在main函数中不能使用它。

    哈佛公开课 - 计算机科学课程节选

  • malloc I'm going to now use this new, fancy function called malloc and I'm going to say x gets the return value of malloc of the size of an int.

    我现在使用这个新的,别致的函数,然后我指明x,=,malloc的int型数据的大小,的返回值。

    哈佛公开课 - 计算机科学课程节选

  • If you instead use GetString, same thing: blinking cursor, the function is just going to wait for the user to type a word, a sentence or whatever, and then hit Enter.

    如果你用GetSring来代替它,同样的:闪烁光标,那个函数只是等待用户来,输入一个单词,一个句子什么的,然后敲回车。

    哈佛公开课 - 计算机科学课程节选

  • The standard library, that first line of code, it's not strictly necessary but any time you use a function, a tool that someone else wrote that lives in that so called library, you do need that include line as we'll see.

    标准库函数--第一行代码,严格来说,不是每次都要写的,但是一旦你调用某个别人写,的函数,而这个函数又恰巧位于标准库里面,你就要像我们看到的这样,把它include进去。

    哈佛公开课 - 计算机科学课程节选

  • I certainly don't want to assume they're always going to type a three-letter or a four-letter or a two-letter word I want some dynamism but that's fine because get string can get a string of any length, I can then use the string length function to just ask while the program is running how big is the string that I was handed?

    当然我不能假设他总是,输入3个字符或4个字符,或2个字符的单词,我想要动态地分配,因为GetString可以获得任意长度的字符串,然后我可以使用strlen函数,来得到那个我传递的字符串,有多长?

    哈佛公开课 - 计算机科学课程节选

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定