Wednesday, December 1, 2010

Null Pointers

In C++, the prefered way to initialize pointers is with a 0 instead of a NULL.

Reference: http://www.research.att.com/~bs/bs_faq2.html#null

No comments:

Post a Comment