Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Because this is a development website, many pages are incomplete or contain errors. If you are interested in furthering this effort, please comment on existing items or send recommendations to secure-coding at cert dot org. You can request privileges to directly edit content on the site. If you decide to link to our guidelines, use the Tiny Link under Tools→Link to this Page..., as this URL will not change if the name of the guideline changes.

 

Section
Column
width10%


CERT Books

Column
width90%

C++ inherits a host of opportunities for type violations from C and adds a few of its own.
– Bjarne Stroustrup, "A rationale for semantically enhanced library languages" 

C++ Coding Guidelines

The CERT C++ Coding Guidelines are split into two sections: C++ Rules and C++ Recommendations.

Section
Column
width10%

C++ Rules

Column
width90%

The C++ Rules are focused on normative guidelines which must be followed for secure coding best practices. These rules are currently under active development. Please create a sign-in account if you are interested in commenting or contributing to these rules.

Section
Column
width10%

Column
width90%

The C++ Recommendations are focused on nonnormative guidelines which are recommended to follow for secure coding best practices, but may be considered more stylistic in their content. Please create a sign-in account if you are interested in commenting or contributing to these recommendations.


Content by Label
showLabelsfalse
max99
spaces@self
sorttitle
showSpacefalse
titleAnalyzers
labelsanalyzer

Content by Label
showLabelsfalse
max99
spaces@self
sorttitle
showSpacefalse
titleEliminated Sections
labels+section,+void

Info

Information for Editors
To eliminate a section from the Section Index above, label it section and void.

00. IntroductionImage Added