Hi,
I'm not exactly sure what your question is. That code doesn't compile because you are assigning a value of type myClass* to a variable of type int*. It's perfectly legal to make a dynamic array of myClass objects like this:
Code:
int size = 10;
myClass *cList = new myClass[size];
Comment