18. 特殊考虑

2013-11-26  本文已影响0人  bigwhite

这节包含一些杂项:‘做'与'不做'。

当嵌入的赋值表达式使用时,确保测试是显式的,这样后续它就无法被"修复"了。

while ((abool = bbool) != FALSE) { ... 
while (abool = bbool) { ...    /* VALUSED */
while (abool = bbool, abool) { ...
上一篇 下一篇

猜你喜欢

热点阅读