Skynet
Team Name (Skynet)
Project Marking Percentage
Group work: 50% Individual work: 50% + ------------------------- Total 100%
Repository
- repo Github id:
Team Members
First Name | Last Name | Section | Seneca Id | Github ID | wiki id | IRC nick | Blog URL |
---|---|---|---|---|---|---|---|
Michael | Wang | B | mmwang2 | MichaelMWang | Michael Mengyuan Wang | mekko | Michael's Blog |
Bruno | Pereira | B | bpereira5 | bpereira5 | Bruno Pereira | bpereira | Open Source |
Kanghoon | Park | B | kpark27 | kpark27 | Kanghoon Park | kpark27 | Kang's Blog |
Matthew | Torrance | B | mstorrance | mstorrance | Matthew Scott Torrance | mstorrance | Matt's Blog |
Dyllon | Ricardo | A | ddricardo | Dyllon-R | Dyllon Da Silva Ricardo | Dyllon-R | Dyll's Tech Blog |
Issues and Status
0.2 Milestone (Due Fri 9th)
- Add console class to project and test with cio_test (issue 1) (Assigned to Michael, reviewed by Kang)
- Create Mock-up classes
- Create the class files (header and cpp) with blank methods and make sure they compile
- CField Mock-up Class (issue 2.1) (Assigned to Michael, reviewed by Kang)
- CLabel Mock-up Class (issue 2.2) (Assigned to Kang, reviewed by Matt)
- CDialog Mock-up Class (issue 2.3) (Assigned to Michael, reviewed by Matt)
- CLineEdit Mock-up Class (issue 2.4) (Assigned to Dyllon, reviewed by Bruno)
- CButton Mock-up Class (issue 2.5) (Assigned to Dyllon, reviewed by Bruno)
- CValEdit Mock-up Class (issue 2.6) (Assigned to Matt, reviewed by Dyllon)
- CCheckMark Mock-up Class (issue 2.7) (Assigned to Matt, reviewed by Dyllon)
- CText (Assigned to Kang, reviewed by Michael)
- Add Text Class to the project (issue 2.8.1)
- CText Mock-up Class (issue 2.8.2) (Assigned to Bruno, reviewed by Michael)
- CCheckList Mock-up Class (issue 2.9) (Assigned to Bruno, reviewed by Michael)
Issue Name Format
Issue and branch name format:
V.V_Name
Coding Rules
- Pointer/reference always beside datatype (int* a; or int& a;)
- Only one data definition per line (int a; NOT int a, b;)
- FOUR spaces instead of tab for indentation
- Steps in visual studio
- Tools > Options
- Click: Text Editor, All Languages, Tabs
- Make sure
- Indenting: none needs to be selected
- Tab size: 4
- Indent size: 4
- Insert spaces selected
- Always have curly braces even when the code block is one line
- Header name: _SKYNET_CLASSNAME_H_ (eg. _SKYNET_CFIELD_H_)
- Commenting
- before every functions, write what the function does
- end of a long code block
- any code which may be confusing for others review
Sample Code
// function to display a string of characters based on field length void Console::display(const char* str, int row, int col, int fieldLen){ console.setPos(row,col); if (fieldLen){ int i=0; for (;i<fieldLen && str[i];i++){ this->putChar(str[i]); } for (;i<fieldLen;i++){ this->putChar(' '); } } else{ (*this)<<str; } }
meetings
- latest will be on top