So I'm first going to look for something that's not in the list, I'm going to see, is minus 1 in this list, so it's going to be at the far end, and if I do that in the basic case, bam.
如果我试试第一种最基本的方法,噢,一下就完成了对不对?,因为这种方法查了下第一个元素,然后发现目标数比较下,因为目标数小于第一个元素。
So, tell me again a little bit about Interfaith Youth Core and some of its goals and some of the ways it carries out those goals.
再谈谈跨信仰青年核心组织,它的一些目标,以及它要实现这些目标所采用的方法吧。
Well, you can implement this in a few different ways but here's one approach that uses some int counter=0 of the syntax we just looked at, int counter equals 0.
当然,你可以有好几种方法来实现这一目标,但是其中一种方法,只需要用到我们刚刚看到的那种语法。
What this did was it established a super ordinate goal, that is a goal that everybody shared, and perhaps more important a common enemy.
这个方法设立了一个最高目标,所有队员都分享一个共同的目标,或者更准确地说,一个共同的敌人。
And we want to do that in tangible, concrete ways, but the question is how? -Absolutely.
而且想用实际具体的方法来实现这个目标,但问题是怎么做?,-对。
So they started off. They wanted to have-- They set up peace talks where a representative of the Eagle and a representative of the Rattler were set to meet and plan ways so that they could disarm and stop using cuss words and everything like that.
然后他们开始了,他们想…,他们进行和谈,老鹰队的代表,和响尾蛇队的代表,安排见面,制定方法,从而解除武装,不再说脏话,诸如此类的目标。
Here, too, gets a little ugly and this is why I tend not to like this construct, at least in C, but sometimes it's necessary or it's the simplest way to achieve this goal.
这里也有点难看的,这也是为什么我,不太喜欢这个结构,至少在C语言中,但是有时它是必须的,或者它是达到目标最简单的方法。
应用推荐