First page Back Continue Last page Overview Graphics
Coding standards
Each header file should contain only one class declarations
Each class implementation code should go into a single source file
Each header file must be protected from multiple inclusions
- #ifndef NAME_HH
- #define NAME_HH
- ...
- #endif
Every class should have at least one constructor and a destructor
Use of private/protected, inline functions
Avoid global variables or functions
No hard-coded numbers. Use of constants (const)
Use StType types
Notes: