c++ assert
时间:2014-08-27 14:33:27
收藏:0
阅读:172
#include<iostream> #include <assert.h> using namespace std; int main() { int a = 0; assert(a == 0);//当其不满足时触发 getchar(); return 0; } 我以为是满足时触发,结果错了
评论(0)