y Hey, try using it to store the number 13 13 through the other pointer Y.
嘿,通过另外一个指针3,试着让它存储数字。
3 >> Okay. I'll just go over here to y and get the number 13 set up and then take the wand of dereferencing and just, whoa.
>,好的,我将到y这里,然后存储数字,然后使用魔杖,哇哦。
3 Let's take y, change it to thirteen, let's run it, hmm.
把y赋值为,试着运行下程序,嗯。
And what is all this stuff? Y is at one, one-half, one-third?
那这一些是什么,呢,Y在1,1/2,1/3上?
And actually, if I don't want to clobber, as we say, overwrite the value of my variable, ; I could declare another one and store the return value in Y; Y so now I have two ints in memory; X and Y, 3 one with two, one with three.
实际上,如果你不想彻底清除,像我们说的,覆盖那个变量的值,我可以申明另一个变量Y,并在Y中保存那个返回值;,现在内存中有两个int数,X和,一个的值为2,一个为。
And I'll give it an x value of 3 3 and a y value of 4.
一个笛卡尔坐标3,然后给p2的x坐标赋值为。
应用推荐