摘要: 友元 友元函数 友元类 阅读全文
posted @ 2012-08-20 22:29 Marinan 阅读(171) 评论(0) 推荐(1) 编辑
摘要: 拷贝构造函数 浅拷贝 深拷贝 阅读全文
posted @ 2012-08-20 12:13 Marinan 阅读(295) 评论(0) 推荐(0) 编辑
摘要: stl排序算法 阅读全文
posted @ 2012-08-19 13:43 Marinan 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 以下是某软件公司的面试题:(以下代码有什么问题?如何修改?)#include <vector>#include <iterator>using namespace std;void printMy(vector<int>);int _tmain(int argc, _TCHAR* argv[]){ vector<int> vecInt; vecInt.push_back (1); vecInt.push_back (6); vecInt.push_back (6); vecInt.push_back (3); vector<int>: 阅读全文
posted @ 2012-08-18 23:55 Marinan 阅读(513) 评论(0) 推荐(0) 编辑