C++ usually doesn't provide automatic garbage collection. Some C++ features, and much C++ code is poorly suited for AGC, so programmers must explicitly deal with memory management issues, which can get quite difficult and needs much time.