We recommend using Visual Studio 2017

Detecting and Correcting C/C++ Code Defects

Microsoft Visual Studio 2005 Team Edition for Software Developers provides a code analysis tool to help you detect and correct/C++ code defects.

In This Section

Code Analysis for C/C++ Overview

Learn about the features of the code analysis tool.

How to: Invoke Code Analysis for C/C++

Learn to invoke the code analysis tool from within the IDE.

How to: Enable and Disable Code Analysis for C/C++ Warnings

Learn to use warning pragma to enable and disable code analysis warnings.

How to: View Code Analysis for C/C++ Warnings

Describes how to view and navigate to errors in code.

How to: Specify Additional Code Information

Learn how to use __analysis_assume to improve code analysis.

How to: Create a Work Item for C/C++ Code Defects

Learn to use the work item tracking feature in Team Foundation.

Walkthrough: Analyzing C/C++ Code for Defects

Gain hands-on experience by performing code analysis on a C/C++ project.

Using Annotations to Reduce C/C++ Code Defects

Learn about annotation features of the code analysis tool to detect violations of the contract between the caller and the callee.

Code Analysis for C/C++ Warnings

Lists and describes code analysis warnings.

See Also