nulling pointers before new

This is a discussion on nulling pointers before new within the C++ Programming forums, part of the General Programming Boards category; Hello, quick question. When you are creating classes, is it always important to null any pointers within the class in ...

nulling pointers before new

Hello, quick question. When you are creating classes, is it always important to null any pointers within the class in the constructor. The reason, why i am asking is, a problem has just come up within my class, but as soon as i null the pointer within the constructor and deconstructor when it is being deleted, the class works fine.