Changes

Jump to: navigation, search

Team Mighty Morphin Coding Rangers - OOP344

85 bytes added, 11:56, 27 January 2010
Coding Style - updated the coding style
<li>Only <code>main ()</code> will start at column 1. Tab every block of code four spaces over.</li>
<li>Declare only one variable per data type {better off per line} even if it's the same type (<b>no</b> using commas . It is easier to share comment a variable during declaration);this way.</li>
<code>
Eg. correct int i;//To count the number of times in for-loop int j; int k;//To count another variable
Eg. wrong int i,j,k; //How do I separately comment Eg. so/so int i; int j; int k;//the variables here?
</code>
1
edit

Navigation menu