Well, the assignment operator makes a copy of the thing on the right and puts it in the thing on the left.
赋值操作符把右边的东西,复制到左边。
So this is the equality operator, whereas the single equal sign is the assignment operator.
所以这是相等操作符,然而那个单等号是一个赋值运算符。
The equal sign is really called the "assignment operator."
那个等号其实是个“赋值运算符“
So the assignment operator thus far makes copies of things.
所以到现在为止,赋值运算符复制了很多数据。
So you don't have to use the assignment operator.
所以你并不需要使用赋值运算符。
And I'm using the so-called "assignment operator," a single equals sign to store in n what?
我用了一个复制操作符“,一个等号向n中存储了什么?
- And here as promised is that other operator -- looks a little weird, but because assignment is already using the equal sign to assign one value on the right to a variable on the left.
在这里正像所承诺的那样,其他的操作-,看起来有点怪异,但是因为“=“已经被用来当赋值运算符了,用来把右边的一个值赋值给左边的变量。
应用推荐