'expression:_crtlsvalidheappointer(block) when debuggin

trying to debug my code and this message keeps coming, i created an array with pointer (Stone *stoneArr;) and then in the constructor (stoneArr = new Stone[size];)``` if you need more info please let me know, btw, i must use this array because im stricted by my teacher.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source