printf("请输入查询方式\n"); printf("输入1:表示查询第几天(输入年月日)\n"); printf("输入2:表示查询具体的日期(输入年和天数)\n"); int n=2, year=2001,month=12,day=31,dayOfTheYear=4; ...
分类:
其他好文 时间:
2014-07-22 22:47:13
阅读次数:
204
从后台传来数据?request.setAttribute("time", time), time有year、month属性, 而前台页面上的select中的option却已写死, 可以通过 jstl 表达式来进行判断。 这种写法只可以对简单的数据进行判断。 ?<select...
分类:
其他好文 时间:
2014-07-22 08:25:35
阅读次数:
359
我用虚拟机vm10,openfiler2.99做实验截几个相对重要的图稍后安装操作系统操作系统类型理论上可以在linux里随便选,我选redhat64选择安装位置openfiler光盘镜像加载后,开始安装,整体安装过程和其它linux差不多回车Next键盘布局U.S.English提示你数据会全部丢失分区,我这里全..
缘由:本人在虚拟机中安装centos 5.3,起初安装时选择了english,后来使用的过程中发现打开网页,会出现中文乱码,无法正常显示。当然,本地文件中的中文更是无法显示。 若是将系统语言language设置成中文,则整个...
分类:
其他好文 时间:
2014-07-21 13:22:01
阅读次数:
293
//有一个问题没有解决:输入begin,若用户输入了char类型的数据就成了个死循环了;
//其他函数没有复制过来,这里只有main函数;
int main()
{
int Chinese(int i, int b = 0); int English(int i, string word, int b = 0); void Grade(int i, float j, int k, int ...
分类:
其他好文 时间:
2014-07-19 23:12:39
阅读次数:
310
1.Java计算某一月份的最大天数 Calendar time=Calendar.getInstance(); time.clear(); time.set(Calendar.YEAR,year); time.set(Calendar.MONTH,i-1);//注意,Calendar对象默认一月为0...
分类:
编程语言 时间:
2014-07-19 15:26:27
阅读次数:
299
总结下自己在做erlang的经验1.不管什么样的情况下,一定要关注好函数的返回值再来使用,不知道返回值盲目的使用的话,不仅不能达到目标,而且不存在代码/报错提醒。得不偿失。2.构思好自己的想法,定义方法名一定要规范,要达到念其名,知其意,知结果。比如,日期:day_of_month,day_of_w...
分类:
其他好文 时间:
2014-07-19 15:02:05
阅读次数:
185
Your little brother has just learnt to write one, two and three, in English. He has written a lot of those words in a paper, your task is to recognize...
分类:
其他好文 时间:
2014-07-19 11:30:29
阅读次数:
225
Your little brother has just learnt to write one, two and three, in English. He has written a lot of those words in a paper, your task is to recognize...
分类:
其他好文 时间:
2014-07-19 09:31:41
阅读次数:
238
There's a couple of Nike Hyperrev For Sale Delay climax frames lead that will list for this calendar month. The actual athletic shoes certainly range ...
分类:
其他好文 时间:
2014-07-19 09:21:43
阅读次数:
323