An essential element of secure coding in the C++ programming language is well-documented and enforceable coding standards. Coding standards encourage programmers to follow a uniform set of rules and guidelines determined by the requirements of the project and organization , rather than by the programmer's familiarity or preference. Once established, these standards can be used as a metric to evaluate source code (using manual or automated processes).
...
Relation to the CERT C Coding Standard
Rules Versus versus Recommendations
...