进程可以捕获退出信号 Processes can trap exit signals
有钱人可以选择退出公立学校体系。
如果有参赛者退出,我们可以用他作为替补。
We can use him as a backup if one of the other players drops out.
我可以在不退出的情况下打开其他应用程序。
I can open other applications without having to exit WordPerfect.
And it's just gathering together the multiplications while counting down the exponent. And you can see it when we get down to the end test here, we're going to pop out of there and we're going to return the answer.
这个方法就是通过乘法,来一个一个的减小指数,可以看到,最后面的结果测试,我们会在这里退出,然后返回答案。
But if, at any point, I get to a place in the list where the thing I'm looking for is smaller than the element in the list, I know everything else in the rest of the list has to be bigger than that, I don't have to bother looking anymore.
比当前位置数组的元素要小,我也就知道后面的数肯定,也都比我的目标数要大了,我就不用再继续进行下去了,这意味着目标数不在这个数组中,我就可以退出了。
应用推荐