|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Detecting and Correcting C/C++ Code Defects
When you install either Visual Studio Team System Development Edition or Visual Studio Team Suite, you get a code analysis tool that helps you detect and correct code defects. This section describes Code Analysis and how to use the tool to improve your C/C++ code.
Learn about the features of the code analysis tool.
Describes the configuration settings for code analysis.
Learn to invoke the code analysis tool from within the IDE.
Learn to use warning pragma to enable and disable code analysis warnings.
Describes how to view and navigate to errors in code.
Learn how to use __analysis_assume to improve code analysis.
Learn to use the work item tracking feature in Team Foundation.
Gain hands-on experience by performing code analysis on a C/C++ project.
Learn about annotation features of the code analysis tool to detect violations of the contract between the caller and the callee.
Lists and describes code analysis warnings.