Author Topic: 0 + 1 = -858993459? (c++ problem)  (Read 7567 times)

0 Members and 1 Guest are viewing this topic.

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: 0 + 1 = -858993459? (c++ problem)
anyway i started moving over to new but i don't see an equivalent of realloc when using new and delete. would i need to do something like create a second dynamic array with another new, copy over the old array, free it, then change the pointer defined in the class to point to the new array?
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: 0 + 1 = -858993459? (c++ problem)
Yeah, you do have to do it manually.
-C