for input string
基本解釋
- 對于輸入字符串
英漢例句
- Enter 0.11 for the input string and click Go.
輸入 0.11 作為輸入字符串并單擊 Go。 - Exception in thread "main" java. lang. NumberFormatException: For input string: ";
在線程“主要”數(shù)字格式異常例外:輸入字符串:”; - Keying in a leading sign (and removing the comma) makes the program happy, but the result for a trailing sign is: NumberFormatException for input string: "123456.7-".
鍵入一個前置符號(同時去掉逗號)能讓程序順利運行,但鍵入后置符號的結(jié)果是:輸入字符串出現(xiàn) NumberFormatException: “123456.7-”。 - I'm going to use the CS50 Library instead for user input I'm saying say something then I'd get a string from the user and I call time s1 and then I say, say something, s2 and then I get another string from the user and call it s2 and apparently this program's purpose in life is to tell me yes or no the user said the same thing both times.
然而我使用的是CS50庫來獲得用戶輸入,我說點什么,然后從用戶那里獲得一個字符串,并把它叫做s1,然后我說點什么,然后從用戶那里獲得一個字符串,并把它叫做2,這個程序的最終目的是,告訴我兩次用戶輸入的是不是同樣的東西。
哈佛公開課 - 計算機(jī)科學(xué)課程節(jié)選