You are given the following information, but you may prefer to do some research for yourself.
1 Jan 1900 was a Monday.Thirty days has September,
April, June and November.
All the rest have thirty...
分类:
其他好文 时间:
2014-06-07 13:56:52
阅读次数:
166
//获得本周(本天)时间戳的起始和结束//本周星期一时间戳$monday = mktime(0, 0,
0, date("m",strtotime("last Monday")) , date("d",strtotime("last Monday")),
date("Y",strtotime("la...
分类:
Web程序 时间:
2014-05-26 07:26:50
阅读次数:
279
题意:求2000.1.1(周六)过n天后,是哪年哪月哪日星期几
思路:看到过好多次了这种题,细心点模拟就是了
#include
#include
#include
#include
using namespace std;
char w[7][10]={"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday" ,...
分类:
其他好文 时间:
2014-05-10 09:28:33
阅读次数:
266
一、概述1、定义类型typedef enum{ Monday, Tuesday}
DAY;2、使用DAY day = Monday;3、疑问 在定义和使用枚举类型的时候,我们并不知道枚举变量的存储空间是多大?现在开始做测试。二、Visual
C++ 6.0下测试#include typ...
分类:
其他好文 时间:
2014-05-09 10:08:35
阅读次数:
305