阅读背景:

为多维数组赋值。

来源:互联网 

I am trying to assign values to each index in my 3x3 dimensional array. I initialized all the values to be 1 at the beginning, then set index[0][2] to be 2. however, somehow index[1][0] also attached to the value 2. then i tried to set [1][2] to 2, and [2][0] also set to value 2. I am not sure what is happening here?I am trying to assign values to each index in m




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: