随笔分类 -  笔试面试

摘要:1.自我介绍2.项目中学到的,和贡献3.c++中引用参数的压栈,可变参数的压栈4.define和const的区别5.class中virtual函数的占用空间6.写函数返回矩阵中特定位置的值的连续个数 阅读全文
posted @ 2011-09-23 21:56 lidan 阅读(677) 评论(0) 推荐(0)
摘要:inline void getMaxSub(){ int a[] = {-3, 4, 9, 2, -10, -7, 11, 3, -8}; int b[] = {-1, 2, 6, -3, 5, -7, 14, -5, -15, 1, 8, -4, 9}; int c[] = {-2, 11, -4, 13, -5, 2, -5, -3, 12, -9}; vector<int> iv(c, c+10); vector<int>::iterator itmpstart = NULL, istart = NULL, iend = NULL; vector<int&g 阅读全文
posted @ 2011-09-04 11:32 lidan 阅读(290) 评论(0) 推荐(0)