I'm trying to figure the error message that I get when trying to deallocate an array of pointers I'm allocating.
Here's the allocation and free'ing lines:in run-time I get an error that Bebud assertion failed! in File:dbgheap.cCode:CMyEdit *txtboxf; txtboxf[i] = new CMyEdit(); free(txtboxf);
The same problem occures with this:
I've read tutorials and I think I'm doing what they are telling me. How do I free arrays properly?Code:char line; free(line);