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 行執(zhí)行交換陳述時所應(yīng)用的準(zhǔn)確路逕。 - Then it uses the all-too-familiar switch statement to determine the error level and craft an error message appropriate to that level.
然後,它使用再熟悉不過的開關(guān)語句來決定錯誤等級竝相應(yīng)打造與該等級相適應(yīng)的錯誤消息。 - 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.
這樣做的 主要原因是基礎(chǔ)實(shí)現(xiàn)和指令在C語言的聲明中可以包裝爲(wèi)一個大的switch表達(dá)式,如果使用手工的方式來完成無疑將會是非常痛苦的。 - 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.
我得到一個整數(shù)竝把它存儲,到n中,switch語句的圓括號裡可以是一個整數(shù),或者一個字符或其他的基本類型。
哈彿公開課 - 計(jì)算機(jī)科學(xué)課程節(jié)選 - 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