Who cares if I randomly send him or her elsewhere in the array?
就算我把他或者她排在序列中的其他位置,又有谁会在意呢?
That's just a graphical incarnation of this thing called an array and notice, the games can, in fact, interact with a human much like Wednesday, I'm leaving my house.
它其实是数组变量的,图形化,具体化,这个游戏实际上是与人交互的,如周三看到的,我正要离开我的房子。
It is. It's drawn like an array, it effectively is an array so bracket zero means go to the zero's location in that array, which happens to be F and do what with it?
它看起来像个数组,实际上也是一个数组,所以【0】就是定位到那个数组的0的存储单元,对于f发生了什么?用它做什么?
And in this context, the length of that array is stored in Arg C. Well, let's take a look at a slight variance of this that reveals further what we can do and reveals what a string really is.
关于这点,那个数组的长度被存储在ArgC中,好的,让我们看看这个轻微的变化,那个揭示了我们可以做的,和字符串实际上是什么。
But what looks like this orange block as of now in Scratch, add orange to your so called inventory, well, it's gonna take at least two lines of code in C to actually create the inventory array with this first line and then put something like the word orange inside of it.
就好比Scratch里面橘色的这一块,把“桔子“加到所谓的“清单“里面去,在C语言中至少需要两行代码来实现,第一行代码创建一个货单数组,第二行就需要把“桔子“放进去。
应用推荐