... input invalid parameter 传入无效参数 If No Input Parameter 如果没有输入 Get input parameter 别克 ...
基于8个网页-相关网页
如果没有输入控件,初始化的焦点定位将被定位到默认的按钮上。
If there are no input controls, the initial focus should be assigned to the default button.
如果没有替代参数,则只输入一个单引号。
If there are no substitution parameters, enter only one quote.
清单4 .测试一个极端例子:如果有人没有输入单词就按下了按钮该怎么办?
Listing 4. Testing an edge case: What if someone presses the button without typing in a word?
I probably whip out a do while loop very rarely, but very often when programming games or any program that takes user input and has to check that user input and yell at the user if they're messing with you or aren't providing what's expected.
我可能很少用do,while,循环,但常常是,当编制程序游戏或需要用户输入的程序是,需要检查用户的输入并提醒用户,如果他们干扰了你,或没有提供所期望的输入。
So we'll talk a bit more about this idea of functions today, but, get int, again, can think of it as a black box, whose purpose in life is to prompt the human for input and pester the human if he or she doesn't actually give it int, but then once it has that, has entered it from the user, it's quote unquote, returns it to you.
所以我们进今天将多讨论点这个函数的概念,但是,GetInt,我们可以把它当做一个黑盒子,它的唯一目的是提示人们来输入,并且如果他或她没有,给它int数,则会纠缠用户,但是一旦它得到了,用户输入的int数,对输入进行引用,返回给你。
应用推荐