P.J.Plauger版本C标准库实现分析之'assert.h'
I believe that seeing a realistic implementation of the Standard C library can help you better understand how to use it. — P.J.Plauger 按照字母序首先我们来看看<assert.h>,这个文件提供的接口功能很简单,但却是我们极其常用的功能-断言机制(如果条件为False,则输出Diagnostics信息,然后Abort)。当然在最终产品中使用断言并不是一种好的方法,不过断言是一种很有用的帮助我们调试程序的好工具。 ...