会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
莫小
博客园
首页
新随笔
联系
订阅
管理
2010年5月19日
assert用法,原理,改编(C++)
摘要: 转自: 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)
编辑
公告