for input string
常見例句
- Enter 0.11 for the input string and click Go.
輸入 0.11 作爲(wèi)輸入字符串竝單擊 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é)選 返回 for input string