Renegade C++ Cleanup [message #437105] |
Mon, 27 September 2010 16:31 |
|
halo2pac
Messages: 659 Registered: December 2006 Location: Near Cleveland, Ohio
Karma:
|
Colonel |
|
|
Hey guys.
I'm working on a lot of C++ that has to do with renegade in general (servers, scripts, ect).
When you write code in let say a script what do you have to delete to make sure you don't have any memory leaks?
So far I know of when you create a string like:
const char *Nick
you have to delete it.
what other things are there to delete, and how do I delete them?
*off the top of my head Vector3 is one of the ones where I am wondering if I have to delete it after creating one.
Thanks!
Rene-Buddy | Renegade X
Join the fight against Obsessive-Compulsive Posting Disorder. Cancel is ur friend.
*Renegade X Dev Team Member*
|
|
|