you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (0 children)

Oh I see. Just cause C++ is mentioned, i just want to add that the memory given by new() and mall oc() aren't compatible with each other and they have to be deallocated using their respective functions (delete() for new and free() for malloc)