Fixing C/C++ code formatting