next up previous contents
Next: Class member variable names Up: Naming conventions Previous: Naming conventions   Contents

Class names

Names of C++ classes should begin with a capital letter, and not contain any hyphens. Class names comprised of multiple words should have each word capitalized. Example:

Classes derived from a base class should generally prepend a descriptive word to the base class name, unless the new word begins with a number in which case the additional word should be added to the end of the base class name. Examples: