Formatting C++ code