P
PengYu.UT
I'm wondering whether the operator [] can accept more than 1 arguments
Suppose I have a object which is essentially a 2 dimensional array, I
want to use operator [] to access the data. I don't what to use [] to
return a 1 dimentional array and use another [] to access the data in
this 1 dimentional array.
Is it possible to accept 2 arguments?
Thanks,
Peng
Suppose I have a object which is essentially a 2 dimensional array, I
want to use operator [] to access the data. I don't what to use [] to
return a 1 dimentional array and use another [] to access the data in
this 1 dimentional array.
Is it possible to accept 2 arguments?
Thanks,
Peng