#include<iostream>
#include<string>
#include <cstring>
#include <cmath>
#include<iomanip>
using namespace std;
int mmday(int yy,int mm){
//返回该年月份的天数
switch(mm){
case 1: case 3: case 5: case 7: case 8: case 10: case 12:
return 31;
break;
case 4: case 6: case 9: case 11:
return 30;
break;
case 2:
if ((yy % 4 == 0 && yy % 100 != 0) ||
c++格式输出某年某月的日历
最新推荐文章于 2024-05-15 08:05:21 发布