Block Comments

Block Comments

A regular block comment is a traditional "C-style" comment. It starts with the characters /* and ends with the characters */.

A block comment is always used for the copyright/ID comment at the beginning of each source file. It is also used to "comment out" several lines of code. Since block comments do not nest, their use in other parts of the source code would make it difficult to comment out code. Hence, the use of block comments other than for the copyright/ID comment and commenting out code is strongly discouraged.



Software Development. Building Reliable Systems
Software Development: Building Reliable Systems
ISBN: 0130812463
EAN: 2147483647
Year: 1998
Pages: 193
Authors: Marc Hamilton

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net