Open main menu

CDOT Wiki β

Changes

Team I - OOP344 20133

680 bytes added, 05:52, 8 December 2013
no edit summary
== Repository ==
* '''Team Infinity''' Repo Path: https://github.com/Seneca-OOP344/Team-I
=== Master Branch Status ===
====Status====
*'''''Open/Closed'''''
*: Open: you can merge now.
*: Closed: Wait for the repo to get opened
====Logs====
* DateTime, Merged/being Merged by [mailto:emailid@learn.senecac.on.ca full name], ircnick: mynick, any other info
1. Oct 21,2013 Merged by [mailto:zchen91@learn.senecac.on.ca Zhenyang Chen], crans
2. Oct 21,2013 Merged by [mailto== Coding Style and Standards ==* The following will serve as an example of our coding standard:kjkorat@learn.senecac.on.ca Kamleshkumar Jayantibhai Korat], Maverick344<big><syntaxhighlight lang="cpp">#ifndef __BDOT_FILENAME_H__ // Our Team's Safeguard#define __BDOT_FILENAME_H__  class example { // There will be a space after every class identifier for the definition public: int _data; // Member variables should start with an underscore int _arraySize // Use meaningful names for variables when applicable and use lower Camel Case int _width; // Every object have its own type char* _pArray; // Pointers should have * part of the type void display():};
3. Nov 3,2013 Merged by [mailtovoid example:zchen91@learn.senecac.on.ca Zhenyang Chen], crans | Content: 0.3.1 Prototypesdisplay() { // There will be a space after every function identifier for the definition }
#endif ... #include <iostream>#include <cstring>using namespace std; int main() { int a =0; // Indentation is 2 spaces int b = Coding Style and Standards ==* No 1; // NO Tab Character characters allowed! Replace every tab character with 2 spaces. char name[] = "Spoom"; // Put a newline after variable declaration if(replace tabs with spacesa > b ? a : b){ a = a * Each object must have its own type:b; // Put a space between EVERY variable and operator } // Put a newline after a control structure if(!strcmp(name, "Spoom")) { cout <big><syntaxhighlight lang="cppWelcome, Spoom!"><< endl; // Every statement within a control structure will } // be wrapped in braces, even if there is only 1 lineint else { // Else statement will be on anewline after the If control structure cout << "Get out." << endl;int b }  return 0;CDialog D;}
</syntaxhighlight></big>
 
== Team Members ==
{| class="wikitable sortable" border="1" cellpadding="5" cellspacing="0" align="center" bgcolor="#6B8DD6"