• If you scroll back up on the printout or screen here, you'll see that you can actually not only declare function's prototypes, their general structure.

    如果我回滚到打印输出或者这个屏幕,你们将看到你们不仅可以声明函数原型,它们的一般结构。

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

  • printf That's not actually where someone implemented print F and related functions, rather, in dot H files, by convention, are prototypes.

    那实际不是有某人在哪里执行,相关函数,而是在,h文件中,按照惯例,它们是函数原型

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

  • For some reason, at the top of this file, I've also included what I've called a function prototype.

    因为一些原因,在这个文件顶端,我包含了一个函数原型

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

  • It's a little redundant, admittedly, but I include not the same function, but just its prototype, as I say in the comment here.

    它确实是有点长的,但是我包含的不是同一个函数,而只是一个原型,就像我这里的注释所说的。

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

  • My prototype, again, so that I can use it later increment without the compiler wondering what is this increment that you're referring to because it's not otherwise been declared.

    我的函数原型,再次强调,我可以以后使用它,这样编译器就不会疑惑这个你提及的,是什么,因为是没有,被声明的。

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

  • The only thing that you have to put in the function prototype, ; again, is three things; one, the name of the function; the return value; and its arguments.

    你唯一要加入到函数原型中的东西,是有三个东西,一,函数的名字;,返回值,和它的参数。

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

  • Here in functions prototype it just means the address of.

    这个函数原型中,它指的意思地址。

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

  • So up top, the function prototype.

    在顶端,那个函数原型

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

  • What's the prototype of a function?

    什么是一个函数原型呢?

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

  • Now because among its contents is the prototype for print F, that is why, very simply, I can call print F without having to declare its prototype myself.

    现在因为在它的内容中是printf的原型,这就是为什么我可以不声明printf函数原型,而可以调用它。

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

  • As an aside, why are you able to use print F without writing out a prototype for it?

    此外,为什么我们不用写printf的函数原型,而可以使用它呢?

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

  • I have to change the prototype of this function to say that swap no longer takes an int per se or another int per se, but rather it takes two pointers, two ints, and in fact, it's on the very last page if you're still flipping.

    我改变了这个函数原型,来说明swap不再携带那两个int数本身,而是携带两个指针,两个整型数指针,实际上,它是在最后那页上。

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

  • It may mean something different and this is sort of just stupid re-use of syntax although frankly it wouldn't really be much fun to have yet a symbol so they went with the same symbol which is pretty reasonable in the context *a of a function prototype this just means *a expect A to be the address of an int and expect B to be the address of an int.

    这里的意思有点不同,这是为了重使用的目的,虽然这个符号没有什么意义,所以在函数原型中,他们就使用了相同的符号,这只是表示,期望,是一个int型的地址,期望b是一个int型的地址。

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

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

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

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