ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Modern Memory Management
Subject:   C++ has garbage collection?
Date:   2005-11-08 09:53:29
From:   Lunchy
"You must be most careful with C, where you control all memory allocation and freeing. Languages such as C++, Java, Perl, and PHP take care of a lot of the housekeeping automatically."


I didn't know C++ had any more garbage collection than C had. You still need to new/delete memory or objects created on the heap just like malloc/free in C.


1 to 1 of 1
  1. C++ has garbage collection?
    2005-11-08 11:18:49  orichy [View]

1 to 1 of 1