[rescue] Cooling (Long Message, sorry)
Sridhar the POWERful
vance at ikickass.org
Thu Apr 18 08:42:53 CDT 2002
On Thu, 18 Apr 2002, Joshua D Boyd 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.
I don't know what he's talking about. I use run-time sized arrays all the
time.
Peace... Sridhar
More information about the rescue
mailing list