Skip to main content
Post Made Community Wiki by CommunityBot
Source Link
Huppie
  • 11.5k
  • 4
  • 34
  • 34

As a C++ Developer here's some simply guidelines:

  1. Use pointers only when absolutely necessary
  2. If you need a pointer, doublecheck if a SmartPointer is a possibility
  3. Use the GRASP Creator pattern.

As for the detection of memory leaks personally I've always used Visual Leak Detector and find it to be very useful.