operand
常見例句
- If the character is an operand, push it onto the stack.
如果字符是一個(gè)操作數(shù),把它壓入堆棧。 - The result of any expression can be used as the operand of another expression.
而任何一個(gè)表達(dá)式的結(jié)果都可用作另一個(gè)表達(dá)式的操作數(shù)。 - You need two variables to implement a basic calculator: an accumulator to store the value of the first operand when an operation button is pressed, and a variable to store the operation itself.
要實(shí)現(xiàn)基本的計(jì)算器功能,需要添加兩個(gè)變量:一個(gè) 累加器,用來(lái)在操作按鈕按下時(shí)存儲(chǔ)第一個(gè)操作數(shù)的值;一個(gè)變量用來(lái)存儲(chǔ)操作本身。 - The syntax is OK in the sense of, it is an operand, an operator, an operand, so syntactically it's OK.
這裡的語(yǔ)法應(yīng)該是好的,有個(gè)運(yùn)算對(duì)象,一個(gè)運(yùn)算符,另外一個(gè)運(yùn)算對(duì)象,因此語(yǔ)法上是沒錯(cuò)的。
麻省理工公開課 - 計(jì)算機(jī)科學(xué)及編程導(dǎo)論課程節(jié)選 - I just want to remind you, if I wanted to, for example, type in an expression like that, notice the syntactical form, it's an expression, a number, followed by an operand, followed by another expression.
我想要提醒下大家,如果你想要,例如,輸入一個(gè)這樣的表達(dá)式,注意語(yǔ)法形式,這是個(gè)表達(dá)式,一個(gè)數(shù)字,後麪是一個(gè)運(yùn)算對(duì)象,後麪是另外一個(gè)表達(dá)式。
麻省理工公開課 - 計(jì)算機(jī)科學(xué)及編程導(dǎo)論課程節(jié)選 - That is, if I want to combine two things together in a particular way, I need to make sure that I give it the kind of operand it expects.
也就是,如果我想以一種特定的方式,把兩個(gè)東西組郃到一塊,我需要確定,給了運(yùn)算符它想要的輸入。
麻省理工公開課 - 計(jì)算機(jī)科學(xué)及編程導(dǎo)論課程節(jié)選 返回 operand