for input string
常見(jiàn)例句
- 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-".
鍵入一個(gè)前置符號(hào)(同時(shí)去掉逗號(hào))能讓程序順利運(yùn)行,但鍵入后置符號(hào)的結(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庫(kù)來(lái)獲得用戶輸入,我說(shuō)點(diǎn)什么,然后從用戶那里獲得一個(gè)字符串,并把它叫做s1,然后我說(shuō)點(diǎn)什么,然后從用戶那里獲得一個(gè)字符串,并把它叫做2,這個(gè)程序的最終目的是,告訴我兩次用戶輸入的是不是同樣的東西。
哈佛公開課 - 計(jì)算機(jī)科學(xué)課程節(jié)選 返回 for input string