switch statement
常见例句
- The code fragment in Figure 1 shows the exact path the application took when executing the switch statement on line 111.
图 1中的代码段显示了第 111 行执行交换陈述时所应用的准确路径。 - Then it uses the all-too-familiar switch statement to determine the error level and craft an error message appropriate to that level.
然后,它使用再熟悉不过的开关语句来决定错误等级并相应打造与该等级相适应的错误消息。 - One of the primary reasons for this is primitives and instructions are wrapped in a huge switch statement in C, which is a pain to maintain by hand.
这样做的 主要原因是基础实现和指令在C语言的声明中可以包装为一个大的switch表达式,如果使用手工的方式来完成无疑将会是非常痛苦的。 - I get the int and store it in n. The switch statement takes inside its parenthesis an int or a char or some primitive type.
我得到一个整数并把它存储,到n中,switch语句的圆括号里可以是一个整数,或者一个字符或其他的基本类型。
哈佛公开课 - 计算机科学课程节选 - Rapid7, one of the two firms that confirmed the breach, has suggested in a statement to press that users should indeed change their passwords, but that a single switch may not keep them safe.
FORBES: If LinkedIn Hasn't Fixed Its Massive Security Breach, A New Password May Not Be Enough 返回 switch statement