[C++] Dynamic object creation with array and non-default ...

[C++] Dynamic object creation with array and non-default ...

瀏覽:713
日期:2025-04-27
I want to create an array of i MyClass'es, each calling a constructor that has ... new MyClass ; works, but I want to call a constructor other than the default ... create a non-fixed number of a certain class of objects at runtime....看更多