In one boxcar, a short man with long, curly brown hair is playing a guitar and singing.
VOA: special.2010.06.13
Expect the address of an int but here in the context of the function itself inside the curly braces, it means go to that address.
一个整型数的地址,但是在函数,大括号中的环境中,意思是定位到那个地址。
because it's not like all over the place and like, curly and thin,
因为不到处乱长,又卷又薄,
Curly parsley is the kind that often ends up being used just for appearance.
VOA: special.2009.06.02
You can put a variable there, and because it's not encapsulated in curly braces, as we just discussed, that essentially means it's accessible everywhere in that file.
你可以加入一个变量,因为它不是封装在花括号里,就像我们刚才讨论的,本质的意思是它可以在文件的所有地方,都可以被访问到。
Many gardeners grow curly parsley as a border for flowerbeds.
VOA: special.2009.06.02
But I think a certain generation of college students thought stooges were only named Moe, Larry, and Curly and so they started to use the phrase "confederate."
但是我认为相当多的大学生,认为助手只能是莫伊,拉里或者克里,并且他们开始用“助手“这个词“
The name was given to them by the American Indians, who saw a resemblance between their dark curly hair and the coat of the buffalo.
VOA: standard.2009.11.25
It seems to me that the government's hands are rather tied becasue the government has very large deficit, and it's running curly from deficits So something like a third of the governments' revenues in income taxes it takes in go through paid interests on its debt.
好像政府现在,能力有限,因为庞大的赤字,政府也还在尽量避免,赤字情况,政府通过收入所得税',拿到的钱中1/3都,要拿去还政府欠债的利息。
"There was an ancient monkey with a long and curly tail.
VOA: standard.2009.11.25
You both have curly hair, and it's black.
你们都有一头黑色的卷发。
In fact, this example would compile because you can use curly braces in this way to encapsulate lines of code, but realize for now, that, not good.
实际上,这个例子可以编译,因为你可以用这种方式来压缩代码行,但是请认识到,那个,不太好。
And that's fine, because inside of curly braces can you redeclare variables with the same name if you intend to quote unquote shadow the previous variable.
那是可以的,因为,在花括号里面,你可以重新定义一个,相同名字的变量,如果你想引用之前的变量。
And then what I get to do inside the curly braces is literally line by line enumerate the cases that I want to apply to the following code.
然后我们在花括号中要做的是,逐行地列举接下来我想要,应用的代码。
It ultimately evaluates that line of code but just once the stuff inside the curly braces, but the semicolon on the end, essentially has the effect of this.
它最终执行了那行代码,但是只有一次,当那个东西在花括号里,分号放在后面,本质上影响了这个循环。
But for now, it's probably simpler just always use the curly braces just to get into the habit.
但是现在,简单起见,你可以,养成每次都使用花括号的习惯。
So again immediately on first glance, a little more arcane, there are some distracting details, these curly braces, the semicolon, the quotation marks.
第一眼扫过去,是不是有点神秘,有点繁琐,还有一些莫名其妙的大括号,分号和引号呢。
And so what I was hinting at earlier when you put semicolons in the wrong place, and then proceed to have curly braces around arbitrary lines of code, you're creating an even more local scope there, which is generally not the right intended behavior.
在之前我暗示了,当你把一个分号放在错误的地方时,然后开始用花括号,括上任意行的代码,你在那里创建了一个局部范围,那个不是故意的行为。
Are -- is scope defined by curly braces or by functions?
范围是由花括号定义的还是函数定义的?
They only mean go there when you're inside the curly braces.
只有在花括号里时,意思才是定位到那里去。
So we don't need the curly braces.
所以我们不需要那个花括号。
Well in C and many similar languages, you have to implement that same bracing structure with your keyboard using an open curly brace and a closed curly brace, so a tiny little detail.
在C语言和一些类似的编程语言中,你也必须搭建同样的架构,同样也得注意前大括号啊,后大括号啊等等这些细节问题。
The curly braces are then the C's way of kind of making a puzzle piece that looks like this so you can put stuff inside.
花括号是C语言的一个方式,用来做一个像这样的程序块,所以你可以把代码写在里面。
Well, for a thing called main which itself is a function but a function I wrote, a tool I am writing at the moment not like printf which someone else wrote long ago, I have to say where does main start, where does main end, and I do that by using these curly braces.
至于这个名曰main的函数,由我们自己写的函数,也是一个工具,只不过由我们自己编写,而不是像printf那样已经由前人写好了,我们必须要说明main在哪开始,在哪结束,这样我们就要用到大括号了。
Absolutely, by functions, but you can also create local scope with curly braces.
绝对的,是由函数定义的,但是你也可以用花括号来创建局部范围。
Then you say main, open parenthesis, close parenthesis, open curly brace.
前括号,后括号,前大括号。
> Are scopes defined by curly braces or by functions?
>,范围是由花括号定义的还是函数定义的?
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啊,圆括号啊等等,我们只是借助,之前学过的语法规则。
So the open curly brace followed by the closed curly brace means everything inside of these curly braces should get executed, but only if that first condition is actually true.
所以左花括号后面跟着,右花括号,这意味着花括号里面所有的代码,都应该是要被执行的,但只有当第一个条件是正确的。
So let me challenge you with this: inside of these curly braces where I have put a comment with slash slash -- a "comment" means nothing here gets compiled, it's just for the human to read.
让我用这个来挑战你们:,在这些花括号里面,我通过双斜杠写入了一个注释,-一条“注释“在这里不会被编译,它只是用来我们阅读的。
应用推荐