Changes

Jump to: navigation, search

Team Q - OOP344 20133

647 bytes added, 10:50, 20 October 2013
Coding Style and Standards
* Tab's are allowed in the code
* Each object and variable must have its own type to make it as clear as possible
<big><syntaxhighlight lang="cpp">
int a;
}
</syntaxhighlight></big>
 
* File Heading Comments
 
<big><syntaxhighlight lang="cpp">
/*
filename.cpp (or .h) OOP344x (x for Section)
Version Number: Version 1,2,3,4 etc
Description: Small description of the purpose
Name: Firstname Lastname
Student Id - 123-456-789
Date Modified: Month, Day, Year
*/
</syntaxhighlight></big>
 
Comments in Code
 
* placed above each function, gives a short description of purpose
* comment any large blocks or complex code to the right of your code
For Example
<big><syntaxhighlight lang="cpp">
 
if (blahblah = 50)
{
do1; // will perform this
do2; // will perform that
do3; // will perform whatever
}
== Team Members ==

Navigation menu