Archived

This topic is now archived and is closed to further replies.

vbisme

Object on free store

Recommended Posts

How do you create an array of a class on a free store with defined constructor? [source] MYCLASS * someClass; //normally someClass = new MYCLASS[5]; //but with constructor someClass = new MYCLASS(param, param)[5]; [/soure] doesn''t work, how could it be done?

Share this post


Link to post
Share on other sites