And if you're returning nothing, you don't just leave it blank.
如果不返回任何值,你就让它成为空白的。
It doesn't return anything.
它不返回任何值。
I'm taking advantage of the fact that start is going to be a point, and I'm just directly saying, John give me your x-value.
我利用了开始是一个点这个事实,然后我就直接说,返回给我你的x值,因此我不知道。
> So void, again, is my way of saying swap does not return anything.
>,void,再次强调下,这是一种,说明函数不返回任何值的方式。
So this function increment takes nothing, returns nothing, and yet it does something.
所以increment函数不带入参,也不返回值,它也没做什么。
应用推荐