- And so you can begin to express -- -- even though the language is a bit arcane -- your ideas in the same way that you might actually speak them.
所以你可以开始表达-,即使那个语言有点晦涩-,你的想法可以用同样的方式说出来。
3 So here what I'm doing is 17 divided by 13, but because of this parenthetical, , -- because of that parenthetical -- that has nothing to do with math; -- this is a programming language thing -- that is a casting operation.
所以这里我要做的是用17除以,但因为这样的题外话,因为那样的题外话-,还是没有做完这个数学题;,这是一个编程语言的东西-,那是一个计算操作。
I didn't have a language for that. -Yeah.
我找不到合适的语言表达自己,-是的。
At least hundreds-- of programming languages around.
至少几百--的编程语言存在。
and they reply in German, "Yes, I'm French," that doesn't--language doesn't necessarily tell you how people feel about their identity. Some sage once said, I don't know who it was, but I love this expression, that a language is a dialect with a powerful army.
然后他们用德语回答,"我是法国人",不一定--语言不一定能代表,对自己的身份认同,有个哲人说过,我忘了是谁,但我特喜欢这句,说语言就是有强大军队撑腰的方言
So hopefully there is indeed a way to fix this, but it looks as though the division operator, the single slash is division but -- and here's a curiosity about many programming languages -- because 17 is an integer and because 13 is an integer, why do I say that?
我的确希望有一个方法来修正这个错误,但是看起来,好像那个除法操作,那个斜杠是除法,但是--对于很多编程语言来说,是挺奇怪的--因为17是一个整数,13也是一个整数,为什么我这样说?
You can stack these things in C. So if you want to do if - and then rather -- let me tweak this just so simplify -- if you want to stack these things and do this in one case or that in the other, can you stack them like this?
你们才可以在C语言中使用这些东西,所以如果你想做,-让我把这个弄得更简单点-,如果你想把这些代码堆集在一起,在一个情况中,或在另一个情况中处理,你能够像这样把他们集在一起吗?
And I don't quite remember from reading or from class how big these things are, well, it turns out -- and this is sometimes useful, later on more likely than now -- but C has a size of operator that takes an argument in parenthesis and it will tell you how much space is used to store that particular data type.
我不太记得类中的这些类型,是多大的,嗯,结果是--这个在以后比现在,可能是更有用的--不过C语言中有个sizeof的操作符,其中括号里有一个参数,它会告诉我们,要存储一个类型的数据,需要占用多大空间。
应用推荐