long long unsigned int num = 20140701092715;在C语言中编译器会把没有小数的数值常量默认为整形,这条语句编译器会报警告: [root@localhost ~]# gcc -o test 1.c 1.c: In function ‘main’: 1.c...
分类:
编程语言 时间:
2014-07-01 18:56:09
阅读次数:
233
Query.All("name", "a", "b");//通过多个元素来匹配数组 Query.And(Query.EQ("name", "a"), Query.EQ("title", "t"));//同时满足多个条件 Query....
分类:
其他好文 时间:
2014-07-01 17:48:00
阅读次数:
192
6.6 Referring to a Type withtypeofAnother way to refer to the type of an expression is withtypeof. The syntax of using of this keyword looks likesizeo...
分类:
其他好文 时间:
2014-07-01 17:37:49
阅读次数:
248
在用户滚动页面到图片之后才进行加载,使用图片延迟加载,能有效的提高页面加载速度。所需js插件:主script方法:
分类:
Web程序 时间:
2014-07-01 17:27:47
阅读次数:
206
Add-Type -Assembly PresentationCore[Windows.Clipboard]::SetText("abc中文def")先用 $output | Out-String 整成一个多行字符串$output = "String 整成一个多行字符串"$OutputEncodin...
分类:
其他好文 时间:
2014-07-01 16:42:41
阅读次数:
203
反射允许我们在编译期或运行时获取程序集的元数据,通过反射可以做到:● 创建类型的实例● 触发方法● 获取属性、字段信息● 延迟绑定...... 如果在编译期使用反射,可通过如下2种方式获取程序集Type类型:1、Type类的静态方法Type type = Type.GetType("somename...
分类:
其他好文 时间:
2014-07-01 16:38:29
阅读次数:
232
以下是一个快速实现该需求的 module。只要将以下代码复制粘贴到 Documents\WindowsPowerShell\Packages\PowerShell\PowerShell.psm1 即可。$script:showWindowAsync = Add-Type –memberDefinit...
分类:
其他好文 时间:
2014-07-01 16:22:22
阅读次数:
262
Since I use Sublime ,I want to write aencoding convent program .Here isthe knowage what i need .InputStreamReader:This class is the brage from bytetyp...
分类:
其他好文 时间:
2014-07-01 13:57:23
阅读次数:
214
假如现在我们需要在app.config中定义一个如下的节点,我们需要进行怎样的操作?
那么这个节点的各个字段都代表什么意思?section中name指的是你自定义的这个section的名字,type指的是用于接收这个section中相应字段的类,在程序运行的时候CLR会通过反射将各个字段赋值给这个类的对应属性。在这里,list...
分类:
移动开发 时间:
2014-07-01 09:21:33
阅读次数:
235
ISCSI监听在tcp/3260端口iSCSI Target:iscsi-target-utils 客户端认正方式: 1、基于IP 2、基于用户,CHAP tgtadm:命令行工具,模式化命令 --mode 常用模式:target,logicalunit,account ...
分类:
其他好文 时间:
2014-07-01 09:16:17
阅读次数:
263