一.初始化列表
1.引入
我们知道在c11中才能在成员对象声明时初始化,像下面这样。
class Date
{
public:
Date(int year, int month, int day): _year(year), _month(month), _day(day)
{}
private:
int _year2000;
int _month12;
int _day20;
};注意:…
一、关于史密斯数的传说 1、关于理海大学Lehigh University
理海大学(Lehigh University),位于宾夕法尼亚州(Pennsylvania)伯利恒(Bethlehem),由富有爱国情怀与民族精神的实业家艾萨…