摘要: 转自: http://hi.baidu.com/hplonline/blog/item/8637ab4470ee268bb3b7dcaa.html最近才发现,原来assert这么好用啊。。。 再看看是怎么实现的,又找到了些有趣的东西。用法: 先包含 #inlcude <assert.h> 在想用的地方给一句: assert(expression)就可以了。 expression是任... 阅读全文
posted @ 2010-05-19 11:18 莫小 阅读(5144) 评论(1) 推荐(1) 编辑