No C99/C++ comments.
This commit is contained in:
parent
a5a8b52afd
commit
9549adefdc
1 changed files with 8 additions and 1 deletions
|
@ -168,7 +168,7 @@ You are encouraged to format multi-line comments like this:
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Please use complete sentences, with proper grammer,
|
* Please use complete sentences, with proper grammer,
|
||||||
* capitalization and puntuation. Use two spaces between
|
* capitalization and punctuation. Use two spaces between
|
||||||
* sentences.
|
* sentences.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -179,6 +179,13 @@ But please avoid elaborate boxes like this:
|
||||||
* ugly, too. *
|
* ugly, too. *
|
||||||
***********************************************************/
|
***********************************************************/
|
||||||
|
|
||||||
|
Do not use
|
||||||
|
|
||||||
|
// C++/C99 comments
|
||||||
|
|
||||||
|
because they are not portable C89.
|
||||||
|
|
||||||
|
|
||||||
Conditional compilation
|
Conditional compilation
|
||||||
|
|
||||||
Unless the conditional code is very short, please comment it like
|
Unless the conditional code is very short, please comment it like
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue