Name: Anonymous 2008-11-21 23:01
I can't figure out how to instantiate a dynamic array of objects with a call to a specific constructor - it should do something like this:
Image* images = new Image(Image::RGB,w, h, ...)[num]; //doesn't work
instead of
Image* images = new Image[num]; //this calls goddamn default constructor
Image* images = new Image(Image::RGB,w, h, ...)[num]; //doesn't work
instead of
Image* images = new Image[num]; //this calls goddamn default constructor