C++
Programming and Technical
Why should I use new instead of trustworthy old malloc()?
A: Constructors/destructors, type safety, overridability.
Read Solution (Total 0)
C++ Other Question
Can I free() pointers allocated with new? Can I delete pointers allocated with malloc()?
A: No!
Can I use realloc() on pointers allocated via new?
A: No!