Open main menu

CDOT Wiki β

Changes

OOP344 - Success - 20102

102 bytes added, 12:15, 26 May 2010
Rules to follow: Added a coding rule
And each of us should set up Visual Studio to turn off TAB otherwise we can lose marks.
 
Note from Matthew: Look into the program you are writing on to see if you can set the number of characters your tab key will indent. For myself, I write all of my code on an application called SubEtheEdit on my mac and I can set my tab to the 2 characters we specified, so I can easily still use tab personally.
Aleh: In VisualStudio we can put settings like [http://www.winasm.net/forum/index.php?showtopic=2274 here] and by pressing TAB spaces would be printed. I will ask Fardad if it is ok.
 
8. Do not create several variables in one line
 
int a,b; //BAD
 
int a; //GOOD
 
int b; //GOOD
1
edit