Skip to content

C Coding Style

Olivier Michel edited this page Mar 15, 2021 · 3 revisions

#CS200 → #CS299 C

#CS200 Default to Cyberbotics C++ coding style for C

If not specified otherwise by our coding style, use the Cyberbotics C++ coding style

#CS201 Use snake case for symbole names

Variables and functions names use the snake_case notation (for type names use #CS301).

#CS202 Use uppercase underscore case for preprocessor constants and macros

Preprocessor constants and macros names use the UPPERCASE_UNDERSCORE_CASE notation.

Clone this wiki locally