C++ Coding Standards

Naming Conventions

These naming conventions allow program readers to recognize many program objects at a glance. For example, DocumentClass is a class, IsEmpty is a function returning a Boolean value, and MEMORY_ERROR is a constant of some kind, either a named constant, an enumeration value, or a macro.

Formatting

Types

Expressions

Control Structures

Functions and Operators

Classes

Modules and Access to Program Objects

Use of the Preprocessor

Comments

Error Checking

Target Metric Values


Return to Home Page

Copyright 1999 Christopher Fox