Skip to content

C Coding Style

David Mansolino edited this page Nov 5, 2018 · 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 underscore case for symbole names

Variables and functions names use the underscore_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