• 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.

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

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

  • It's a common mistake to make if you forget that I've actually declared that variable up top, but wait a minute, I know any time that I use a variable, I have to declare it.

    一个通常犯的错误,如果忘了,之前在前面已经声明了这个变量,等等,知道在任何时候,使用一个变量,必须声明它。

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

  • And just to look ahead a little bit, you could easily imagine that I might want to not just put a statement in there, what the specs are, I might want to put some constraints. Some specific things to check for, to make sure that you're calling the code right.

    这不仅抽象的概念还有规范的概念,们再往前看看,可以简单的想象得到,不仅仅想在这里加一个声明,这些规范说明中还想加一些约束,们要注意一些特殊的事情。

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

  • Notice that that typically also defines for me what the internal variables are, what the internal characteristics of the class are going to be.

    就放进去比较好的,写下了init声明意思就,当创建一个实例的时候,这就要进行的操作。

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

  • When you declare a pointer yourself manually, you do say char * the variable name because recall that's the same thing that we did earlier but we called it instead string.

    手动声明一个指针可以说char,*,变量名字,因为那是我早些时候做的事情,但是我们叫它为字符串。

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

  • int So whereas before I mentioned int, turns out if you wanna put a string in a variable, you have to say this is a string.

    先不管之前提到的,如果想把一个字符串赋给某个变量,那必须事先声明这个变量string类型的。

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

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

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

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