Changes

Jump to: navigation, search

Team Excellence - oop344 20113 Code Standards

302 bytes removed, 17:10, 14 October 2011
Comments
== Comments ==
'''Dzmitry:'''
We have two choices:
<syntaxhighlight lang="cpp">
// this comment is an example
int foo(int x);
</syntaxhighlight>
OR
<syntaxhighlight lang="cpp">
int foo(int x); // this comment is an example
</syntaxhighlight>
I prefer the second one, because I got used to it, but I think that the second one is more affective, and it is the best choice, to put comments on the top line.
 
Selected: Second One
== File Header ==
1
edit

Navigation menu