#include<stdio.h>
#include<ctype.h>
intmain(intargc,char**argv)
{
charch;
printf("Enterthewantyouwant:\n");
while((ch=getchar())!=‘#‘)
{
if(ch==‘\n‘)
continue;//改成break的话,直接回车就会跳出循环。
if(islower(ch))
switch(ch)
{
case‘a‘:puts("..
分类:
其他好文 时间:
2014-11-20 23:54:38
阅读次数:
189
当然了,PHP的DATE函数是不可能直接输出中文的年月日的,但可以用下面这种方法自己写一个函数。 代码如下 复制代码 function today(){ date_default_timezone_set ("Asia/Chongqing"); $a=date("Y"); $b=date("m...
分类:
Web程序 时间:
2014-11-20 23:31:44
阅读次数:
338
连接数据库 1 var mongo=require("mongodb"); 2 var host="localhost"; 3 var port=mongo.Connection.DEFAULT_PORT; 4 var server=new mongo.Server(host,port,{auto_...
分类:
数据库 时间:
2014-11-20 23:20:13
阅读次数:
259
水晶报表打印问题:
ReportDocument aReportDocument = new ReportDocument();
//加载报表
aReportDocument.Load(@Application.StartupPath + Properties.Settings.Default.MainReportPath);
//子报表数据源
aReportDocument.Subr...
分类:
其他好文 时间:
2014-11-20 20:29:35
阅读次数:
236
1.http://www.cnblogs.com/tornadomeet/tag/Deep%20Learning/default.html?page=1博客园tornadomeet的博文,楼主参加了天津的DL学习,里面有很全的DL学习笔记,很值得学习。2.http://blog.csdn.net/z...
分类:
其他好文 时间:
2014-11-20 20:06:09
阅读次数:
326
我们都知道java的类可以由public、default(缺省、不写)来修饰,分别表示的含义是允许公开访问以及只允许包内其它类访问,而同一包内的类通常是为完成同一个功能而协作。
除此之外,我们还会遇到一些类,它们只是其它某个类的实现或组成的一部分,它们不应该被独立的创建出来,当它们创建的时候需要跟"宿体"连在一块,这就是内部类。就好像人类的心脏,你没法单独的new一个出来,它只能依赖于...
分类:
编程语言 时间:
2014-11-20 17:05:05
阅读次数:
258
# To enable ProGuard in your project, edit project.properties
# to define the proguard.config property as described in that file.
#
# Add project specific ProGuard rules here.
# By default, the flags ...
分类:
移动开发 时间:
2014-11-20 17:01:19
阅读次数:
236
1、监控windows进程的几个KEYS:proc.mem[<name>,<user>,<mode>,<cmdline>]Memoryusedbyaprocess.<name>processname(default:"allprocesses").<user>username(default:"allusers").<mode>possiblevalues:avg,max,min,sum(default).&..
分类:
Windows程序 时间:
2014-11-20 15:43:01
阅读次数:
1088
在CentOS编译PHP5的时候有时会遇到以下的一些错误信息,基本上都可以通过yum安装相应的库来解决。以下是具体的一些解决办法:checking for BZip2 support… yes checking for BZip2 in default path… not found configu...
分类:
Web程序 时间:
2014-11-20 15:03:20
阅读次数:
190
Normally, we can set default value for function param://Here use "Hello" as default paramvar receive =function(message="Hello", handle){ handler(me...
分类:
其他好文 时间:
2014-11-20 06:48:53
阅读次数:
185