C中实现require 和ensure
// 检查输入条件。#include#include#define require(expression) do {if( expression != true ) {printf("%s,%d:require check failed.\n",__FILE__,__LINE__);return -1;}}while(0)int test_require(char