Use of proper indendation (#24024)
This commit is contained in:
@ -106,8 +106,12 @@ for (int i = 1; i <= 5; i++)
|
|||||||
|
|
||||||
* #### Use const, pass by value/reference when suitable. This will help with saving memory.
|
* #### Use const, pass by value/reference when suitable. This will help with saving memory.
|
||||||
|
|
||||||
|
* #### Use proper indentations, so that it is easy to read and debug the code, for you, as well as for others.
|
||||||
|
|
||||||
* #### Write const in caps, datatypes starting with T and variables in lower case.
|
* #### Write const in caps, datatypes starting with T and variables in lower case.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
const int MAX= 100; //Constant
|
const int MAX= 100; //Constant
|
||||||
typedef int TVector[MAX]; //Data type
|
typedef int TVector[MAX]; //Data type
|
||||||
|
Reference in New Issue
Block a user