[FW]C Coding Standards Quick Reference[2]

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

本文简介:

Implicit logic tests shall be avoided.

All conditional expressions shall be explicit.

Float values shall not be tested for equality.

When checking a value for equality to a constant value, the constant should be on the left-hand side of the expression.

Unsigned variables shall be used for all bit-manipulation operations.

Flow Control Statements                               3.4

The code following a case label shall be terminated by a break statement.

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

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

go top