Difference between revisions of "Team F - OOP344 20133"
Wei Hao Lo (talk | contribs) (→Coding Style and Standards) |
(→Coding Style and Standards) |
||
Line 27: | Line 27: | ||
<big><syntaxhighlight lang="cpp"> | <big><syntaxhighlight lang="cpp"> | ||
− | int | + | int _swap; // Data members naming: "_name" |
/*Function Description*/ | /*Function Description*/ | ||
int functionName(...) { | int functionName(...) { |
Revision as of 18:36, 4 November 2013
Contents
Team Name
Project Marking Percentage
- due right after study break
Group work: 50% (25 <= xx <= 50) Individual work: 50% + (50 <= xx <= 75) ------------------------- Total 100%
Repository
- repo path:
Master Branch Status
- DateTime, Merged/being Merged by full name, ircnick: mynick, any other info
Coding Style and Standards
- No Tab Character allowed. (replace tabs with spaces)
- Each object must have its own type:
int a;
int b;
CDialog D;
General Rules:
- Indentation is 2 spaces long
int _swap; // Data members naming: "_name"
/*Function Description*/
int functionName(...) {
// Adds ....
while (.... && .... || ....) { // Open Bracket is located after the code
int count; // variables's name relates to the purpose
} //END OF while
}
-Comments at least one per function saying what it does.
- Compiler error/warning ! strcpy, strcat etc, are unsafe under visual studio environment. Simply, we can turn this off in win32/msvc.
Right-click your C++ and chose the "Properties" item to get to the properties window.
Now follow and expand to, "Configuration Properties"->"C/C++"->"Preprocessor"->"Preprocessor definitions".
In the "Preprocessor definitions" add
_CRT_SECURE_NO_WARNINGS
but it would be a good idea to add
_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
as to inherit predefined definitions
Team Members
First Name | Last Name | Section | Seneca Id | wiki id | IRC nick | Blog URL |
---|---|---|---|---|---|---|
Jan | Ona | A | jrona | Jan Reyes Ona | ParadoxMeltdown | Jan's Blog |
Mohammad | Aryafar | A | maryafar | Mohammad Aryafar | m-aryafar | Mohammad's Blog |
Wei Hao | Lo | A | whlo3 | Wei Hao Lo | weiLo | BN |
Saulius | Grybas | A | sgrybas | Saulius Grybas | sauliusgrybas | Saulius's Blog |
tasks
task name
- task description
- being done by team member name / not assigned
- status
meetings
- Release 0.2
October 18, 2013 - TEL OpenLab