The fact that I have this star here, this star here, this star here, is really just 'cause I'm a little anal and it looks pretty to make a little box out of everything but it's not strictly necessary.
事实上大家可以看到,这有颗星,这有颗星,这有颗星,其实是我手痒,这看起来像是用*围成个框,把它们包围起来,其实这是完全没有必要的。
This is just a picture of that little box, so it's going to turn out it goes from, the pink line goes from here to here and the blue line goes from here to here.
这是那个小方格的放大图,这些线如图所示,粉色的线从这一点到这一点,蓝色的线从这一点到这一点
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数,对输入进行引用,返回给你。
应用推荐