In running Ubuntu and the g++ compiler I keep getting the same error from this code.
myClass *arr;
arr = new myClass*[myClassSize]; // line 24
for(int a = 0;a<myClassSize;a++)
arr[a] = new myClass;
Here is the error:
cannot convert 'myClass **' to 'myClass *' in assignment
The problem was on line 24.