另一个常见的调试技术是使用NDEBUG预处理变量以及assert(断言)预处理宏(preprocessor macro)。assert宏是在cassert头文件中定义的,所有使用assert的文件都必须包含这个头文件。
基于8个网页-相关网页
macro preprocessor 宏预处理程序 ; 宏预处理机
More information about C preprocessor macro programming is available in the CPP manual (see the Resources section for a link).
更多有关 C 预处理器宏编程的内容可以在 CPP 手册中看到(请参阅 参考资料 一节中的链接)。
youdao
应用推荐
模块上移
模块下移
不移动