z*l 发帖数: 763 | 1 【 以下文字转载自 Linux 讨论区 】
【 原文由 zhl 所发表 】
After you compiled your programm, you may get no warning
no error, smooth compiling. But is your programm perfect?
Try: lclint inputfile.c
It will tell all your small careless in your programm, which
is not a good thing for a perfect programmer.
Such as you put 1 instead of 1.0 for float, you should put
(void) in front of a function if you don't wanno return value.
Parameter misc not used.
On the other hand if you don't want to be a perfect programmer
, t |
|