Always Initialize your member variables!

To add comments, please log in or register
nicholi shen
2176
nicholi shen  
If you don't initialize your members and your class assumes a NULL or zero implicit initialization then you're going to get intermittent bugs. Members that aren't explicitly initialized get whatever value they get (not always NULL) . 
To add comments, please log in or register