Be careful with that first link, C++ doesn't use the same value for NULL as used in C. And in C NULL is equivalent to 0 only when dealing with pointers.

Jim