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