-
Notifications
You must be signed in to change notification settings - Fork 63
EVAL ADICUP3029 Code Style guidelines
Antoniu Miclăuş edited this page Dec 2, 2019
·
1 revision
To apply style guidelines, astyle is used.
For the source code in the EVAL-ADICUP360 repository, the following configuration should be used: astyle_config:
--style=linux
--indent=force-tab=8
--max-code-length=80
--suffix=none
To use it, copy the script above to a file named e.g. 'astyle_config'. Then, to apply the style to the source file example.cpp, call 'astyle' with the following command: astyle --options=astyle_config example.cpp
The file example.cpp will be rewritten to match the style rules.