The Great Apple Big Cheese Joined Mar 24, 2002 Messages 3,361 Location Oxford, England Sep 25, 2006 #2 If by dynamic you mean with a size set during runtime (it is implied, but just to be sure) then I would do it as follows: Code: float** MyArray; MyArray = new float[x][y]; Just because I would do it that way doesn't mean it's the best way of doing it.
If by dynamic you mean with a size set during runtime (it is implied, but just to be sure) then I would do it as follows: Code: float** MyArray; MyArray = new float[x][y]; Just because I would do it that way doesn't mean it's the best way of doing it.
Déja Beyond the Mod Joined Dec 19, 2005 Messages 353 Sep 25, 2006 #3 Another option is to use the standard library. You can do vectors of vectors and the like