• So you're implementing this black box, and if its purpose in life is to actually return a value, you have to tell the compiler what kind of value to expect, and this is going to have ripple effects.

    你在实现这个黑盒子,如果它的目的是,返回一个值,你必须告诉编译器你期望的是什么类型的值,这个将是一个连锁反应。

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

  • So just to hammer home this point, for now, a function really is like a black box.

    现在再三强调,让你们彻底了解这一点,一个函数就像是一个黑盒子

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

  • The military staff carries the black box.

    军事人员带着黑盒子

    普林斯顿公开课 - 国际座谈会课程节选

  • Think of it as a black box.

    把它想象成一个黑盒子

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

  • So we'll talk a bit more about this idea of functions today, but, get int, again, can think of it as a black box, whose purpose in life is to prompt the human for input and pester the human if he or she doesn't actually give it int, but then once it has that, has entered it from the user, it's quote unquote, returns it to you.

    所以我们进今天将多讨论点这个函数的概念,但是,GetInt,我们可以把它当做一个黑盒子,它的唯一目的是提示人们来输入,并且如果他或她没有,给它int数,则会纠缠用户,但是一旦它得到了,用户输入的int数,对输入进行引用,返回给你。

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

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

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

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