[FW]C Coding Standards Quick Reference[6]

[入库:2006年2月23日] [更新:2007年3月24日]

本文简介:

All #include directives shall be placed at the top of the file, just below the introductory comments and revision history.

 

Macros                                                             3.8

Arguments to macros shall not produce side-effects to the arguments themselves.

Macro parameters shall be fully parenthesized. The entire macro shall also be enclosed in parenthesis.

Macros shall not be used to change the nature of the language.

A macro that produces executable code shall be written as a parameterized macro, even if no parameters are needed.

本文关键:[FW]C Coding Standards Quick Reference
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top