And often there's human input.
人们得输入一些东西。
human text, ASCII text as input and output zeroes and ones that represent that program in a manner that the CPU, interesting, dammit, not installed on this computer.
编译器以人输入的文本,ASCII码为输入,它输出一些cpu实际上可以理解的,在这台计算机上没有安装。
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数,对输入进行引用,返回给你。
应用推荐