摘要: class Date { public: // 获取某年某月的天数 int GetMonthDay(int year, int month) { static int days[13] = { 0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; 阅读全文
posted @ 2021-11-09 10:47 Kzss 阅读(75) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;template<class T>class Array{public: class LinkUnit{ public: T obj; LinkUnit *next; LinkUnit(){ next=NULL; } ~Li 阅读全文
posted @ 2021-11-02 11:32 Kzss 阅读(28) 评论(0) 推荐(0)