0

How to free memory without getting an unhandled exception error?

For a while now, I have been plagued with unhandled exception errors whenever I run functions or statements that remove an object from a vector. These are often for things such as enemies or bullets, stuff you would normally want to free memory from in order to provide room for incoming memory. What I want to know is how to properly free memory while a program is running so that I do not encounter another error.

3rd Dec 2016, 4:01 AM
Andy Ponce
Andy Ponce - avatar
1 Resposta
+ 1
maybe just debug it?
3rd Dec 2016, 10:16 AM
Drauchris
Drauchris - avatar