Open main menu

CDOT Wiki β

Changes

Team H - OOP344 20133

642 bytes added, 16:35, 18 October 2013
Coding Style and Standards
CDialog D;
</syntaxhighlight></big>
** With regards to space characters, standard will be as follows:
<big><syntaxhighlight lang="cpp">
if(a == b) {
x = y * z; // 2 spaces for indentation
}
</syntaxhighlight></big>
* With regards to classes, standard will be as follows:
<big><syntaxhighlight lang="cpp">
class example {
public:
int _a; // member variables should start with an underscore
int _arraySize // use meaningful names for variables when applicable and use camel notation
char* _pArray; // pointers should have '*' part of the type
};
</syntaxhighlight></big>
* For the safeguard for header files, we will use the following:
<big><syntaxhighlight lang="cpp">
== Team Members ==