Cppcheck is a free static code analysis tool for the C and C++ programming languages.  It is integrated with the Code Blocks IDE.  I like the Code Blocks IDE and this is one more reason for liking it.
You can download Cppcheck for free from SourceForge:
http://cppcheck.sourceforge.net/
Cppcheck can help you find potential null pointers.  You must be careful with memory creation and destruction in C/C++.  I highly recommend static code analysis to look for null pointers.  I have used Cppcheck.  I recommend it.
Robert
 
No comments:
Post a Comment
Comments require my approval before they appear. Be patient. It will take a day or two for your comment to appear.