There are two ways to define a comment. The first one uses the syntax
/* some comment text */which marks any characters between (and including) the opening /* and the closing */ as comment. Such comments may expand over more than one lines, as in
/* This is a multi line comment */but they do not nest. The first */ that follows any /* will end the comment.
The second way to define a comment uses the syntax
int i; // some comment textwhich marks any characters after (and including) the // and up to (but not including) the newline character at the end of the line as comment.
Index | Copyright © 2005 CadSoft Computer GmbH |