I use a very simple style for C++, that is basically the style outlined in Taligent’s Guide to Designing Programs.
In short:
- Classes: TypeOfResponsibilityOrAction. Eg: MethodParser.
- Instances and Arguments: responsibilityGiven. Eg: methodParser.
- Methods: actionTaken. Eg: parse().
-
I use the trailing brace method:
void method() { //body }
See the book for a much more comprehensive description.