摘要: 斐波那契数列: 1,1,2,3,5,8,13,21,34,.... 阅读全文
posted @ 2016-12-15 21:23 niie9 阅读(388) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> using namespace std; #define SWAP(a,b) a^=b,b^=a,a^=b int main(void){ int x = 2,y=3; SWAP(x,y); cout << x << ',' << y << endl; ret 阅读全文
posted @ 2016-12-15 11:28 niie9 阅读(543) 评论(0) 推荐(0) 编辑
摘要: c++中string类的实现 今天面试被考到了, 全给忘记了!!! 阅读全文
posted @ 2016-12-15 11:25 niie9 阅读(430) 评论(0) 推荐(0) 编辑