So that's the only change we need to make there and watch what happens when we actually run this.
那就是我们需要改变的,并且当我们运行它,会发生什么事情。
And it's useful for when you're talking about something in the moment that's going to happen.
当你在谈论马上就要发生的事情时,这个句型非常有用。
With the sports I played, if you're trying too hard in some ways, if you're thinking about it too much, but when you let yourself be in the moment, It's really amazing what happens.
在我参加过的体育项目上,如果某种程度上太过努力,想得太多不可,只有当你在这一刻顺其自然,会发生很奇妙的事情。
Now when the trumpet enters something of interest happens.
当小号进入时,有趣的事情发生了
So you're going to use it when you're talking about something that's happening
因此,当你在谈论某些发生的事情时,你可以使用这个句型。
And when you call a function, one of the things X that happens is whatever your passing in, for instance, X, ; and if this is A, this thing gets copied into A; so at that moment in time of calling increment, I actually have two copies of the same value in memory but they're referred to by different names.
当你调用一个函数,其中发生的一件事情是,不管你输入什么,比如,或者是A,它把这个东西复制到A中;,调用increment的时候,实际上在内存中,有两个同样的值的内存块,但是它们有不同的名字。
As I mentioned, you can also use "I wish" when you express something that you do not want to have happen.
就像我之前提到的,当你想说明你不希望发生的事情时,你也可以用“I wish”。
And it's a way to communicate how you feel that about this possibility is not existing for you.
当你想谈论一些不会在你身上发生的事情时,你可以用“If I were”句型来跟人交流。
And you can imagine this gets complex and there's lots of interesting things to do to look to the real form, but those are the things that you should see.
可以想象下这样下去问题会变的复杂起来,而且当面对真实情况的时候,会有很多有趣的事情发生,但是这些东西你都应该明白的。
And you're just unconscious of how this happens but it's unpleasant and kind of frightening that this could happen, that this could apply to things like why you're now studying at Yale, why you feel the way you do towards your friends, towards your family.
你根本没有意识到知觉过程是如何发生的,但当你将无意识概念应用到很多事情中时,你便会感到不悦和恐惧,比如,你为什么会来耶鲁求学,你为什么会觉得应当这样,去对待你的朋友和家人。
Just take a look: if this is 9, 5 divided by 9 is always going to be 0 point something, and if you thus have two integers and you're rounding down, which is what happens when you do integral math we're using this operator, I'm going to get zero times whatever.
稍微看一看:如果这是9,5除以9会得到,0点几,如果你用两个整型数,你舍去小数,这就是当你们,用整型数使用这个操作的所发生的事情,我将得到数值0乘以任何一个数字。
This code does swap the two values, A and B. However, when I run this program, something happens.
这个代码没有交换那两个值,A和B,但是,当我运行这个程序时,有些事情发生了。
应用推荐