这并不是说某些规则(如格式设置规则)不重要,而是应该将它们与其他问题进行比较权衡,例如空指针或处理不当的异常。
That is not to say that some rules, like formatting rules, are not important, just that they should be weighed in comparison to other issues, such as null Pointers or mishandled exceptions.
如果您预先知道什么地方可能出错,那么您就能够小心避免陷阱,并消除大多数与指针和内存相关的问题。
If you are aware of what can go wrong beforehand, then you can take care to avoid the pitfalls and get rid of most of the Pointers and memory-related problems.
将字符指针和字符字节声明为无符号类型的,这样可以防止8位字符的符号扩展问题。
Declare character Pointers and character bytes as unsigned to avoid sign extension problems with 8-bit characters.
应用推荐