Fixed up sample?

Trying to make sure I get the sample template.
Should we use next line or end of line braces?  C++ standard is generally end of line (and java).