guides:programstyle:identifiers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
guides:programstyle:identifiers [2020/07/24 11:39] – [User Defined Types] wikiadmin | guides:programstyle:identifiers [2024/07/25 15:01] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 84: | Line 84: | ||
Examples of acceptable use: | Examples of acceptable use: | ||
<code c++> | <code c++> | ||
+ | int sizeOfInput; | ||
+ | double totalWeight; | ||
</ | </ | ||
Examples of unacceptable use: | Examples of unacceptable use: | ||
<code c++> | <code c++> | ||
+ | int a; | ||
+ | float rotAng; | ||
</ | </ | ||
+ | |||
+ | One exception to this rule is for loop control variables which can be single letters, normally //i//, //j// .... | ||
guides/programstyle/identifiers.1595590763.txt.gz · Last modified: 2024/07/25 15:01 (external edit)