Style guide should be followed for all C++ code developed for WARG. Note that this document does not reflect the most recent changes. The proper .clang-format file can be found inside the ZP repo, or attached here:
View file | ||
---|---|---|
|
Spacing
We use 4 spaces instead of tabs here.
...
Variables
Note: For class
and struct
member conventions, refer to the Data Structures
section.
...
The* should be attached to the datatypevariable:
Code Block | ||
---|---|---|
| ||
int * integer_pointer = nullptr; |
...