r
本程序思路:r
公元1年1月1日是星期一r
求出要跳转的日期从公元1年1月1日到本月的r
天数,求出本月一号为星期几,r
然后按本月一号为星期几依次打印r
r
r
r
本程序由httpmygl
iwopopcom和wwwsj
atk共同免费r
贡献给百度文库,保护产权,盗版必究,希望百度严格审查;r
我的博客httpblogsi
acomc
u3275605587r
r
i
cludestdiohr
i
cludeiostreamr
i
cludeco
iohr
i
cludestri
ghr
i
cludetimehr
usi
g
amespacestdr
voidcale
darViewr
void
owtimer
voidI
putTimer
i
tfirstDayOfMo
r
i
tred0r
r
structSysTimer
i
tsecr
i
tmi
r
i
thourr
i
tdayr
i
tmo
r
i
tyearr
记录当前系统时间r
structGoTimer
i
tdayr
i
tmo
r
i
tyearr
记录跳转的日期r
r
structSysTime
tr
structGoTimegtr
r
i
tleapYear12312931303130313130313031r
i
t
oLeapYear12312831303130313130313031r
i
tisleap记录是否是闰年,是1,不是0r
r
i
tmai
r
r
r
while1r
tr
system