Please take a look at http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml for a general reference on formatting, it makes a review process a lot nicer and generally faster :)