I would use a std::vector as laserlight suggested, but if you still feel like using raw pointers, you can use std::fill() to set them all to NULL.
I would use a std::vector as laserlight suggested, but if you still feel like using raw pointers, you can use std::fill() to set them all to NULL.
"I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008
"the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010