![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C/C++
王韬_passion
这个作者很懒,什么都没留下…
展开
-
汇顶面试
1.项目介绍 被问到金属标签和二维码的区别2.c++类的多态,继承,封装类的设计(主要大题,不会)涉及到涉及模式指针的计算传递参数:传地址、传引用原创 2015-09-09 11:01:31 · 779 阅读 · 0 评论 -
c++必须在类初始化列表中初始化的几种情况
1. 类成员为const类型2. 类成员为引用类型#include using namespace std;class A{ public: A(int &v) : i(v), p(v), j(v) {} void print_val() { cout "hello:" " " endl;} private:转载 2015-09-09 10:17:21 · 298 阅读 · 0 评论