1. 首页
  2. 课程学习
  3. C++/C
  4. c++程序文档

c++程序文档

上传者: 2020-08-21 10:40:48上传 DOC文件 132KB 热度 6次
一个日期类的定义及实现 分析: 数据成员:int year,month,day; 成员函数:设置日期 SetDate() 计算闰年 IsLeap() 显示输出日期 Print() #include using namespace std; class Date { public: void SetDate(int y,int m,int d) { year=y; month=m; day=d; } int IsLeapYear
下载地址
用户评论