Changes

Jump to: navigation, search

Team G - OOP344 - 20132

1,621 bytes added, 20:45, 16 July 2013
Announcements
{{OOP344 Index | 20132}}
== Repository ==
* Github: https://github.com/Seneca-OOP344/whateverG-Rep
=== Master Status ===
* Master ('''last pushed/being pushed''') by ''Team Member nameKevin Sidhu''** R.01 Passes all tests** Ugly code, Need to refine 
== Announcements ==
 
<u>Kevin</u>
<br>CLineEdit
<br>CValEdit
<br>CDialog
<br>CText
<br>CMenu
 
<u>Zhun Xue</u>
<br>CButton
<br>CLabel
<br>CMenuItem
<br>CCheckMark
<br>CheckList
 
== Programming Style ==
 === Spaces ===* 1 space between keyword (if, do, while, for), the condition braces, and the { === Indentation===
* 2 spaces for indentation
* Do not use tab character
=== Blocks ===
* '''If statement (short one-line statement):'''
<syntaxhighlight lang="cpp">
if (condition) doSomething(); // space between if and ( )
</syntaxhighlight>
* '''If statement (multi-line or long one line statement):'''
<syntaxhighlight lang="cpp">
if(condition){ // space between if ( ) and { // do something // use this for short one-line statements if you'd like}</syntaxhighlight>* '''If else statement:'''<syntaxhighlight lang="cpp">if (condition) { // do something} else if (condition) { // notice spaces whatever// do something} else { // if else statements always use blocks even with short one line statements // do something}</syntaxhighlight> * '''While statement (short one line statements):'''<syntaxhighlight lang="cpp">while (condition) doSomething(); //notice spaces</syntaxhighlight>'''OR:'''<syntaxhighlight lang="cpp">while (condition) { // do something}</syntaxhighlight> *'''Function declaration:'''<syntaxhighlight lang="cpp">void doSomething(int arg1, char arg2) { //notice spaces // do something}</syntaxhighlight> 
=== Variable Naming ===
<syntaxhighlight lang="cpp">
int main(){
int a = 1;
char* bookNames;
char bookId
return 0;
}
</syntaxhighlight>
 
* Try to avoid abbreviations unless very well known please:
<syntaxhighlight lang="cpp">
int main() {
int letterCount // Good
int numCount // Good
int ltrCnt // Bad
 
int numErrors // Good
int n // Bad - unknown meaning
int nerr // Bad - ambiguous
}
</syntaxhighlight>
! First Name !! Last Name !! Section !! Seneca Id & email !! wiki id !! IRC nick !! GITHUB ID !! Blog URL
|-
|[[User:WikiID Kevin Sidhu | first nameKevin]]|| last name Sidhu ||AB||[mailto:EmailIdkssidhu1@myseneca.ca?subject=oop344- EmailIdkssidhu1]||[[Special:Contributions/Wiki IDKevin Sidhu|Xin LiKevin Sidhu]]||IRC IDCoios||Github IDCoios|| [http://YourBlogURLksidhucode.blogspot.ca/ Blog Name]Kevin Codes
|-
|[[User:WikiID | first name]]|| last name ||A||[mailto:zxue3@myseneca.ca?subject=oop344- EmailId]||[[Special:Contributions/Wiki ID|Zhun Xue]]||IRC ID||Github ID|| [http://YourBlogURL

Navigation menu