所有的二元操作符,除了。点和左括号和左方括号应用空格将其与操作数隔开。
All binary operators except. period and left parenthesis and left bracket should be separated from their operands by a space.
操作符的结合性定义了相同优先级操作符组合的顺序(从右至左或从左至右)。
The associativity of an operator defines the order in which operators of the same precedence are grouped (right-to-left or left-to-right).
尤其是,这些操作符返回左操作数作为运算结果。
In particular, the operators return their left-hand operand as their result.
如果一个类型说明符紧跟一个左括号,括号,是一个功能描述符和类型是一个函数的参数部分的开始。
If a type specifier immediately follows a left parenthesis, that parenthesis is the start of a function descriptor and the type is part of a function parameter.
由于输入操作符返回其左操作数,我们可以将输入请求序列合并成单个语句。
Because the operator returns its left-hand operand, we can combine a sequence of input requests into a single statement.
有些操作符,比如赋值,要求其中的一个操作数必须是左值。
Some operators, such as assignment, require that one of their operands be an lvalue.
点操作符通过它的左操作数取得右操作数。
The dot operator fetches its right-hand operand from its left.
与下标和解引用操作符一样,赋值操作也返回左值。
Like the subscript and dereference operators, assignment returns an lvalue.
点操作符仅应用于类类型的对象:左操作数必须是类类型的对象,右操作数必须指定该类型的成员。
The dot operator applies only to objects of class type: the left-hand operand must be an object of class type; the right-hand operand must name a member of that type.
注意,本例子中的代码包含一个页首和页左栏,且以为开始标记符指定了正文区域但无结束标记符。
Notice that the example code contains a page header and a left gutter. It also specifies the content area by opening the tag but not closing it.
注意,本例子中的代码包含一个页首和页左栏,且以为开始标记符指定了正文区域但无结束标记符。
Notice that the example code contains a page header and a left gutter. It also specifies the content area by opening the tag but not closing it.
应用推荐