1
edit
Changes
→Coding Style and Standards
== Coding Style and Standards ==
* No tab characters allowed.
* Indents composed of '''4''' spaces:
<syntaxhighlight lang="cpp">
int method(bool _condition) {
if (!_condition) {
return 0;
}
else {
cout << _condition << endl;
return _condition;
}
}
</syntaxhighlight>
* Each object must have its own type:
int a;
int b;
CDialog D;
</syntaxhighlight>* Local/global variables:<syntaxhighlight lang="cpp">int var1 = 10;double var2 = 99.99;char* var3 = "String";</syntaxhighlight>* Parameter variables indicated by underline prefix:<syntaxhighlight lang="cpp">void method(int _param1, double _param2, char* _param3);</bigsyntaxhighlight>
== Team Members ==