Teakor
Joined: 25 Jun 2014 Posts: 4
|
Posted: Wed Jul 30, 2014 8:15 Post subject: Function to delete *DetectedBy_ |
|
|
Hello everybody. I created a function to delete the entire list of those who have detected a specific trap.
To do this I delete the contents of the variable unsigned __ int32 *DetectedBy_; but unfortunately by some problems.
if I use the command delete[] trg->DetectedBy_; visible when the trap back crashes nwserver.
if I use the command trg->DetectedBy_ = new unsigned __ int32[0];
when I close nwserver crashes.
Any idea on how to solve the problem? Unfortunately I do not have much familiarity with C + +.
Thank you. |
|