Usual C++ style formatting
- Write one statement per line for clarity.
- Place the opening
{ and closing } of a function on separate lines.
- Indent all statements inside functions consistently.
- Do not add spaces around parentheses
() in function declarations or calls.