Oct
14
2008
Testing Code
Author: mprokesCommenting Your Code
Comments will always be an important part of programming; they are often used to describe whats going on in your code, and even for automatically generating documentation.
There are two styles of comments:
- //Single Line
- /*
Multi
Line
*/
Some issues with multi-line comments:
Since multi-line comments end with *\ this means that you may never include a *\ within the body of the comment.
/* An error is caused when I use a */ as you can see. */