[rescue] Cooling (Long Message, sorry)

Joshua D Boyd jdboyd at cs.millersville.edu
Thu Apr 18 08:30:47 CDT 2002


On Wed, Apr 17, 2002 at 12:40:06PM -0400, Big Endian wrote:

> Ok... *PLEASE* stop creating arrays with dimentions from variables. 
> You will fuck something up in the end.  Either make them variable 
> sized float[][] and mess with the pointers, or make them fixed size 
> float[4][4].

How are you supposed to make variable sized float[][]s? 
float f[][];
causes a compile error saying:
test.cc:7: declaration of `f' as multidimensional array
test.cc:7: must have bounds for all dimensions except the first

Besides, how is new float[x][y] going to screw things up?  They had to have
some reason for making it a legal operation.


-- 
Joshua D. Boyd



More information about the rescue mailing list