所需头文件:#include<cassert>原型:void assert (int expression);作用:计算表达式 expression 的值,若该值为假,则调用abort程序来终止程序运行。