Resizing An Array Of Objects In A Class

It won’t work. Best approach usually is to use a list instead of an array. Alternatively you have to copy the array to a new array with a different size using Array::Copy


	Array::Copy(obj->ClassValueArray1, ClassValueArray1, NewSize);	
Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.

Comments

Your email address will not be published.