上一页 1 ··· 138 139 140 141 142 143 144 145 146 ··· 150 下一页
摘要: 题目:在A[1000]中存放了1-999之间的元素,只有一对元素是相同的,找出该元素 http://blog.csdn.net/is2120/archive/2011/05/19/6431125.aspx //z 2011-05-19 8:44:34@is2120 0 暴力 @i... 阅读全文
posted @ 2011-05-19 08:40 BiG5 阅读(141) 评论(0) 推荐(0) 编辑
摘要: assert vs. ASSERT(mfc) 区别 1. 首先 assert 是c标准里的一个宏,而ASSERT是MFC的一个宏。 2. assert 可以通过 NDEBUG 来关闭。 3. assert 在 debug 版本和 release 版本里都可用,另... 阅读全文
posted @ 2011-05-18 22:31 BiG5 阅读(135) 评论(0) 推荐(0) 编辑
摘要: @is2120 1. 在 c++ 中删除一个 NULL pointer (空指针)是安全的 2. 标准中相关内容如下: "In either alternative, if the value of the operand of delete is the null pointer the o... 阅读全文
posted @ 2011-05-15 09:49 BiG5 阅读(316) 评论(0) 推荐(0) 编辑
上一页 1 ··· 138 139 140 141 142 143 144 145 146 ··· 150 下一页