C++06 Posted on 2020-04-20 Words count in article: 1.1k | Reading time ≈ 5 Day06总结 02继承的基本语法1234567语法 class 子类:继承方式//利用继承,可以减少重复代码出现//先把公共的部分建立一个类//基类——派生类class BasePageclass GamePage: public BasePageclass NewsPage: public ... Read more »
C++05 Posted on 2020-04-20 Words count in article: 1.9k | Reading time ≈ 9 DAY05 总结01数组类封装123456* 1 提供int 类数组* 2 属性* 2.1 int *paddreass堆区数组指针* 2.2 int m_capacity 数组容量* 3 数组类封装中将对象,当数组名对待,可以用【】重载* int& oper ... Read more »
C++04 Posted on 2020-04-20 Words count in article: 2.1k | Reading time ≈ 9 Day04 总结静态变量1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253//静态成员变量与一般的数据成员不同,无论建立了多少个对象,都只有一个静态数据的拷 ... Read more »
C++03 Posted on 2020-04-20 Words count in article: 1.9k | Reading time ≈ 8 Day03 总结构造与析构12345678910111213141516171819202122232425262728293031class MyClass{public: //1.构造函数的写法 //没有返回值 函数名与类名相同 //可以有参数,可以重载 //由 ... Read more »
fr30 强调表达法,代词式动词的意义,书信格式 Posted on 2020-04-20 Words count in article: 0 | Reading time ≈ 1 Read more »
fr26 形容词副词的最高级,被动态,形容词前de代替des Posted on 2020-04-20 Words count in article: 0 | Reading time ≈ 1 Read more »