• So in general, when you're running command line programs, they can take input or arguments or parameters or switches or flags.

    一般而言,当你运行命令行程序时,可以把把这些当做输入,像什么参数啊,或开关啊,或标志啊等等。

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

  • These things run for variable amounts of time because they take input, a list of size of some amount.

    而这一段的执行时间是可变的,因为它们需要输入一个包含一些元素的列表。

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

  • I could generalize this pretty nicely. Imagine the same kind of idea where I want to simply say I want to take input of anything and try and see how to make sure I get the right kind of thing. I want to make it polymorphic.

    对吧,我试着输入浮点数,我能更好的一般化它,想象下类似的想法,我需要输入些什么,然后看看输入的是否正确,我想使他更多元化些。

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

  • This is exactly where I don't really know the details, but I take it it's something like: because of whatever the original input was, eventually the blood's no longer circulating and oxygen isn't making its way around the body.

    事实上我对这方面不是很了解,我只能认为是,不论最初的死亡原因是什么,最后血液不再流动,氧气不能输送到全身

    耶鲁公开课 - 死亡课程节选

  • It then should take an argument or parameter if you want your function to take input.

    然后它必须携带一个参数或参量,如果你想要你的函数获得一个输入。

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

  • And its purpose in life is to maybe take input and maybe produce output.

    它的唯一目的是可能是获得输入,可能是输出东西。

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

  • In just a couple of weeks can you start implementing things that take input from users; and if you really want to push yourselves with that particular week can you implement what we dub God mode.

    几个星期之内,你就能开始执行从用户端的输入,你需要发奋苦学才能在同一个星期,实现我们的称之为God的模式。

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

  • But if it does take input, you have to provide it in the form of arguments or parameters, like print F takes, generally, inside of those parentheses.

    但是如果它获得了输入,你需要为它提供相应格式的,参数或参量,像printf的输入,一般地,在这些圆括号里。

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

  • I need a contract that says, here's what I want in terms of things that you're going to take as input, to begin your part of the drama, here's what you're going to produce at the output, and the details of what they do inside are up to them.

    这些作家相互沟通进行工作呢?,我需要一封规格说明书,我需要一份合约,上面列出了我想要你做的事,这些是你要再开始时做的输入,这些是你要的输出,细节工作就取决于它们了。

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

  • X So here I'm declaring another variable called X, and this is totally legitimate because I already know that if I'm implementing a function like swap or increment, I can absolutely take input.

    这里我声明另一个变量,这个完全是合法的因为我已经知道,如果我执行一个像swap,或,increment的函数,我完全可以携带输入。

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

  • Suppose instead, I want a machine that can take a recipe, the description of a sequence of steps, take that as its input, and then that machine will now act like what is described in that recipe.

    假设换成这个,我想要一台可以安装描述,一系列步骤的结果的方法的机器,把那个当做输入设备,然后那台机器可以像方法中,描述的那样运行了。

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

  • I'm going to have it take in as input how many legs I got, how many heads do I have, and I just want to write a little loop.

    这就是解决问题的思路,我将要输入我有多少条腿,以及我有多少只头。

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

  • Right now, we're finally getting to the point of scratch which can take some input from the user.

    马上,我们能接近scratch的关键了,即从用户那里获取输入。

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

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

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

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