02-21-2006, 06:23 PM
Quote:You can always set the pointers to NULL after deallocating as well. It's what I do, though I'm not sure that it's necessary. :wink:It's good practice, and helps avoid nasty bugs where you pass "dead" pointers.. If it's set to 0 most routines simply ignore it..