Jeff Squyres, le Mon 14 Feb 2011 14:21:16 +0100, a écrit :
> Let me re-phrase that, because the way I phrased it, I could guess that that detail might be implementation-dependent.
> What I meant was: _distances is clearly a 1D array. Does the above C99 notation say "treat this 1D array like a 2D array of size [x][y]"? And then how it actually happens underneath is implementation dependent (e.g., whether it makes a silent/temporary array or pointers, or converts indexing)?
I don't think it can even be implementation dependent: here we just
define a pointer, and assign to it a casted value.