摘要: 因为数组是根据指针来定义的,a[i]相当于*(a+i),这个满足交换律 阅读全文
posted @ 2011-04-24 23:54 BiG5 阅读(138) 评论(0) 推荐(0) 编辑
摘要: if s1 = "stackoverflow" then the following are some of its rotated versions: "tackoverflows" "ackoverflowst" "overflowstack" where as "stac... 阅读全文
posted @ 2011-04-24 23:48 BiG5 阅读(251) 评论(0) 推荐(0) 编辑
摘要: //z 不用循环和条件判断打印1-1000 //z 2011-05-24 19:16:07@is2120 #include template struct NumberGeneration{ static void out(std::ostream& o... 阅读全文
posted @ 2011-04-24 23:28 BiG5 阅读(358) 评论(0) 推荐(0) 编辑
摘要: 对于所有人都适用-参考手册 The C++ Programming Language (Bjarne Stroustrup) C++ Standard Library Tutorial and Reference(Nicolai Josuttis) The C++ IO... 阅读全文
posted @ 2011-04-24 23:00 BiG5 阅读(122) 评论(0) 推荐(0) 编辑