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: ";
在线程“主要”数字格式异常例外:输入字符串:”; - 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-".
键入一个前置符号(同时去掉逗号)能让程序顺利运行,但键入后置符号的结果是:输入字符串出现 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,这个程序的最终目的是,告诉我两次用户输入的是不是同样的东西。
哈佛公开课 - 计算机科学课程节选