码迷,mamicode.com
首页 >  
搜索关键字:default    ( 18294个结果
switch用法
#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()函数输出中文年月日时分秒
当然了,PHP的DATE函数是不可能直接输出中文的年月日的,但可以用下面这种方法自己写一个函数。 代码如下 复制代码 function today(){ date_default_timezone_set ("Asia/Chongqing"); $a=date("Y"); $b=date("m...
分类:Web程序   时间:2014-11-20 23:31:44    阅读次数:338
node操作mongoDB数据库的最基本例子
连接数据库 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
Deep Learning 博文推荐和学习资料
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 内部类、匿名内部类、嵌套类的使用
我们都知道java的类可以由public、default(缺省、不写)来修饰,分别表示的含义是允许公开访问以及只允许包内其它类访问,而同一包内的类通常是为完成同一个功能而协作。      除此之外,我们还会遇到一些类,它们只是其它某个类的实现或组成的一部分,它们不应该被独立的创建出来,当它们创建的时候需要跟"宿体"连在一块,这就是内部类。就好像人类的心脏,你没法单独的new一个出来,它只能依赖于...
分类:编程语言   时间:2014-11-20 17:05:05    阅读次数:258
android 混淆代码Sample
# 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
Zabbix安装(十):监控windows进程
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
php源码编译常见错误解决方案
在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
[ES6] 07. Default Value for function param
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!