C++ Programming and Technical

How can I convince my (older) compiler to automatically check new to see if it returns
NULL?

Read Solution (Total 0)

C++ Other Question

Do I need to check for NULL after p = new Fred()? Do I need to check for NULL before delete p?
A: No!