Date (int InputDay,int InputMonth,int InputYear):Day(InputDay),Month(InputMonth),Year(InputYear){};
这里的冒号是继承吗?最后怎么有个{}啊?
冒号 是c++继承父类的规范。