摘要:
原理是通过基姆拉尔森计算公式,来根据日期得出星期几以下是C++语言的实现#include "stdafx.h"#include<iostream>using namespace std;int main(){ int year,month,day=1,m;; char *cWeekName[] = {"星期日","星期一","星期二","星期三","星期四","星期五","星期六"}; do{ cout<<&qu 阅读全文
posted @ 2013-04-25 13:25
feenan
阅读(528)
评论(0)
推荐(0)

浙公网安备 33010602011771号