Modified all of the C++ code to use the "curly brace on newline" formatting.
I really don't know what formatting I like best, but this one seems to handle itself better in more cases.