New/Delete...New[]/Delete[]
-
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Re: New/Delete...New[]/Delete[]
Ha, wish I new that way back when I used new/delete. I grew so tired of typing those three lines of code for all my dynamically allocated pointers. I guess it's only necessary for the COM stuff since you have to call a Release function on the pointer before setting to null.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com