• And then in the parentheses we'll see in a moment, it tells me what folder I am inside of.

    圆括号里的东西,告诉我们,我们现在正处于哪个目录下。

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

  • You might recall from grade school sometimes you put things in parentheses so that your addition happens first, then your multiplication, otherwise multiplication would happen by default first.

    你们可能会想起小学时,将一些加法表达式,放在圆括号里,这样加法可以先计算,然后是乘法,否则,乘法默认先发生。

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

  • Now you have a set of parentheses as we'll see int i=0 in actual code and then I have int I equal 0.

    你将会在实际的代码中看到一对圆括号,比如,我们让。

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

  • But sometimes you can pass multiple things inside those parentheses, and so you separate them by commas.

    有时候我们可以往圆括号里填入多个参数,参数与参数之间用逗号分开。

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

  • In parenthesis now is a tilde which is shorthand notation for My Home Directory.

    圆括号里的,代表根目录。

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

  • It's just an input to a function, the thing inside parentheses.

    圆括号里面的东西,只是一个函数的输入。

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

  • The parentheses to pass in inputs or arguments to functions.

    圆括号是用来传函数的,输入或参数的。

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

  • The green block is gonna become a pair of parentheses.

    只需要把绿色版块换成一对圆括号就可以了。

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

  • I get the int and store it in n. The switch statement takes inside its parenthesis an int or a char or some primitive type.

    我得到一个整数并把它存储,到n中,switch语句的圆括号里可以是一个整数,或者一个字符或其他的基本类型。

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

  • And if it sees S-W-A-P, open parentheses, close parentheses, and it hopefully sees two ints inside of it, that's all it needs to do in order to finish compiling your code.

    如果它看到了SWAP,左圆括号,右圆括号,它可能载里面看到两个int数,那是它所需要做的,用来完成代码的编译。

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

  • But to translate this now to a language C, you've got some curly braces, you got an if, some parentheses, but now we're just building on some of the syntax we introduced before.

    如果把它转换成C语言,你又会看到一些大括号啊,if啊,圆括号啊等等,我们只是借助,之前学过的语法规则。

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

  • 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的输入,一般地,在这些圆括号里。

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

  • Now, you might in some context have to add the right kind of parentheses so that GCC or your compiler doesn't get confused, but really they just reverse each other's processes.

    现在,你可能要在相应的地方,加入一些圆括号,这样GCC或编译器就不会误解你的意思,但是它们颠倒了相互的过程。

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

  • You can also get away, as I said last time, with just putting parentheses in JavaScript and PHP, this is, in fact, the norm.

    就像我上次说的,你也可以不用参数,在JavaScript和PHP中只用圆括号,这实际上是一个规范。

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

  • For some reason I had this backslash N, a close quote, parenthesis, semicolon, close curly brace.

    由于某些必要原因,我们还得加上\n,后引号,圆括号,分号,后大括号。

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

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

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

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