[rescue] Cooling (Long Message, sorry)

Joshua D Boyd jdboyd at cs.millersville.edu
Thu Apr 18 12:42:54 CDT 2002


On Thu, Apr 18, 2002 at 11:44:19AM -0400, Sridhar the POWERful wrote:
> On Thu, 18 Apr 2002, Joshua D Boyd wrote:
> 
> > > >How are you supposed to make variable sized float[][]s?
> > >
> > > new or malloc(), just like with variable sized single dimension arrays!
> >
> > So, is float **f = (float**)new float[x][y]; valid or not?  Big Endian yelled
> > on list over that, but it does work, and it contains the word new in it.
> 
> It doesn't work without the typecast?

I suppose that depends on the compiler.  It complains.

-- 
Joshua D. Boyd



More information about the rescue mailing list