Originally posted by Neil:
If you are using VC++, you could get non-contiguous memory for float m, for example. I know Microsoft violates all sorts of C++ standards, so this could be one of them…
This is a rediculous statement. Its like saying that because there are errata in pentium processors, any time a program crashes it is because of the processor.
Please provide me a VC++ project that shows that for (edited: oops, didnt do this right last time)
//file myvar1 with data here
memcpy(myvar2, myvar1, sizeof(float)sizeAsizeB);
(myvar1[x][y] != myvar2[xsizeB+y])
the last statement is true. You wont be able to do it.
[This message has been edited by LordKronos (edited 01-13-2001).]