Notes on Style
1.Use meaningful identifier names.
2.Use a consistent naming scheme for identifier names. My convention:
int VariableName;
const int DEFINED_CONSTANT = 1234;
#define PI 3.14
3.Do not put multiple statements on a single line.
4.Skip lines between functional groups of code.
5.Use a clear and consistent indentation style.
Indent continued statements (if, loops, ... etc).
Line up {'s and }'s.
Label }'s meaningfully (e.g. ``} // while (!done)'').
Christopher Alvin
Last modified: Mon Sep 13 14:50:57 CDT 1999