Translation of conditional operator from English into Chinese
Noun
technology
- The conditional operator checks if x is greater than y.?条件运算符检查x是否大于y。
Synonyms and analogies of conditional operator in English
Examples of conditional operator in a sentence
A conditional operator simplifies the decision-making process in the program.
Translations of "conditional operator" in Context ordered by category and frequency
The specified conditional operator is not supported.
不支持指定的条件运算符。
Note that this is different in C++, where the conditional operator has the same precedence as assignment.
注意 C++ 中这有别,其中条件运算符与赋值拥有相同优先级。
Like any other expression, it may be a sub-expression in another expression, most commonly in the conditional operator
同任何其他表达式,它可以是另一表达式中的子表达式,最常见于条件运算符 :
error: conditional operator is not supported
错误: 不支持条件运算符
conditional operator: Examples and translations in context
There is one more expression that may seem odd if you haven't seen it in other languages, the ternary conditional operator
还有一个表达式,如果没有在别的语言中看到过的话,可能看上去很奇怪,即三元条件运算符:
Here we can rewrite the same using the conditional operator? instead of if to make pow(x, n) more terse and still very readable
在这儿,我们可以使用条件运算符 ? 而不是 if 语句,从而使 pow(x, n) 更简洁并且可读性依然很高:
Every value computation and side effect associated with the first expression in the conditional operator?: is sequenced before every value computation and side effect associated with the second or third expression.
7) 与条件运算符 ? : 中的第一表达式关联的每个值计算和副效应,都先序于 与第二或第三表达式关联的每个值计算和副效应。
You may use conditional operator "if" and other mathematical functions. More info...
你可以使用条件运算符"if" 和其他数学功能。 更多信息...