Lincoln never joined a church, but he believed in a supreme being who created every person with a purpose in life.
VOA: special.2009.02.09
So you're implementing this black box, and if its purpose in life is to actually return a value, you have to tell the compiler what kind of value to expect, and this is going to have ripple effects.
你在实现这个黑盒子,如果它的目的是,返回一个值,你必须告诉编译器你期望的是什么类型的值,这个将是一个连锁反应。
Aristotle, over 2000 years ago, "Happiness is the meaning and purpose of life, " the whole aim and end of human existence."
二千多年前的亚里斯多德,“快乐是人生的意义和目的,人类存在的最终目标“
Lincoln himself said his purpose was to provide "an open field and a fair chance in life."
VOA: special.2009.02.09
If you're writing a one line function, whose sole purpose in life is addition, and, clearly, this is about addition, well, then it's, in fact, A reasonable to use a shorter symbol like A, but I do have to specify it's type.
如果你在写一个一行的函数,它唯一的目的是,做加法,显然这是关于加法的,好的,实际上,用一个短的标识符是合理的,像,但是我必须指明它的类型。
We chose the name "American Mosaic" because the purpose of the show is to create a picture of life in the United States through many small stories.
VOA: special.2009.01.02
Julie says we can't put a number on human life for the purpose of a cost-benefit analysis.
朱莉认为,我们不该为了成本效益分析,给人的生命标价。
is the concept of man as a heroic being, with his own happiness as the moral purpose of his life, with productive achievement as his noblest activity, and reason as his only absolute."
VOA: special.2010.06.06
And its purpose in life is to maybe take input and maybe produce output.
它的唯一目的是可能是获得输入,可能是输出东西。
The act said the purpose was to "conserve the scenery and the natural and historic objects and the wild life therein and to provide for the enjoyment of the same in such manner and by such means as will leave them unimpaired for the enjoyment of future generations."
VOA: special.2009.09.28
It's defined in CS50's library; its sole purpose in life is to ask the user for a floating point value and return it.
它被定义在CS50的函数库中,它的唯一目的是,向用户询问一个浮点数的值,然后返回它。
"Belief in God and accepting that life has purpose and meaning and accepting that life has moral values and other things that are properly the content of religion are perfectly compatible with science."
VOA: standard.2010.04.05
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数,对输入进行引用,返回给你。
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,这个程序的最终目的是,告诉我两次用户输入的是不是同样的东西。
应用推荐