文件名称:wannianli
介绍说明--下载内容均来自于网络,请自行研究使用
万年历,可查询相应年份
#include "system.h"
#include <stdio.h>
#include "stdio.h"
int w(int year)
{
return (365*(year-1)+((year-1)/4-(year-1)/100+(year-1)/400)) 7
}
int date[12][6][7]
int day_tbl[ ][12]={{31,28,31,30,31,30,31,31,30,31,30,31},
{31,29,31,30,31,30,31,31,30,31,30,31}}
char title[]=" 日 一 二 三 四 五 六"
int main()
-Calendar, you can query the corresponding Year# include " system.h" # include <stdio.h># Include " stdio.h" int w (int year) {return (365* (year-1)+ ((year-1)/4- (year-1)/100+ (year-1)/400)) 7 } int date [12] [6] [7] int day_tbl [] [12] = {{31,28,31,30,31,30,31,31,30,31,30,31}, {31,29,31,30,31,30,31,31,30,31,30,31}} char title [] = " Day one hundred twenty-three thousand four hundred fifty-six" int main (). . . .
#include "system.h"
#include <stdio.h>
#include "stdio.h"
int w(int year)
{
return (365*(year-1)+((year-1)/4-(year-1)/100+(year-1)/400)) 7
}
int date[12][6][7]
int day_tbl[ ][12]={{31,28,31,30,31,30,31,31,30,31,30,31},
{31,29,31,30,31,30,31,31,30,31,30,31}}
char title[]=" 日 一 二 三 四 五 六"
int main()
-Calendar, you can query the corresponding Year# include " system.h" # include <stdio.h># Include " stdio.h" int w (int year) {return (365* (year-1)+ ((year-1)/4- (year-1)/100+ (year-1)/400)) 7 } int date [12] [6] [7] int day_tbl [] [12] = {{31,28,31,30,31,30,31,31,30,31,30,31}, {31,29,31,30,31,30,31,31,30,31,30,31}} char title [] = " Day one hundred twenty-three thousand four hundred fifty-six" int main (). . . .
(系统自动生成,下载前可以参看下载内容)
下载文件列表
万年历
......\bin
......\...\Debug
......\...\.....\万年历.exe
......\main.c
......\obj
......\...\Debug
......\...\.....\main.o
......\system.h
......\万年历.cbp
......\万年历.layout