You can do this with a pointer to a pointer to your class.
MyClass ** arrayOfMyClass = new MyClass*[arrayLengthAtRuntime];
for (int i=0;i<arrayLengthAtRuntime;++i)
arrayOfMyClass[i] = new MyClass();
arrayOfMyClass[5]->DoSomething();
Basically, you are creating a pointer to an array of links in memory. The first new one allocates this array. The loop allocates each instance of MyClass to this array.
, std::vector , , , .