Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Renegade C++ Cleanup
Re: Renegade C++ Cleanup [message #437109 is a reply to message #437105] Mon, 27 September 2010 19:19 Go to previous messageGo to previous message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma:
General (3 Stars)

Basically anywhere you see something like new char[100], thats allocating memory that you need to clean up.
If you do something like Vector3 v;
v.X = 1;
v.Y = 1;
v.Z = 1;
then, no, you dont have to clean up that Vector3.


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Just a Musical Thought
Next Topic: C&C_M01 *wip* video
Goto Forum:
  


Current Time: Sun Dec 22 01:55:18 MST 2024

Total time taken to generate the page: 0.00878 seconds