Erlang/OTP 17 [erts-6.0] [source] [smp:2:2]
[async-threads:10] [kernel-poll:false]Eshell V6.0 (abort with ^G)1>
>.>2> >.>说明了一个segment默认是8位,高于8位的部分被截断同...
分类:
其他好文 时间:
2014-04-30 19:14:25
阅读次数:
534
一之半解,以为PageSetting能解决横纵向的问题printdocument.DefaultPageSettings.Landscape =
true;//横向printdocument.DefaultPageSettings.Landscape = false;//纵向其实这只是一个进纸方向,...
分类:
其他好文 时间:
2014-04-30 16:46:30
阅读次数:
429
递归函数是在一个函数通过名字调用自身的情况下构成的。如下: function
self(num){ if(num<=1){ return 1; } else{ return num*self(num-1);
}}这是一个经典的求阶乘的函数。当在外面调用self(4)是可以得到24 ,...
分类:
编程语言 时间:
2014-04-30 14:41:43
阅读次数:
499
Return False 就相当于终止符,Return True
就相当于厉行符:登陆界面:利用javascript 中的函数对内容进行验证,如果验证成功则进行跳转,验证不成功,不反应。问题:基本功能,是页面的跳转:
type="submit" :实现页面的跳转,没有问题.onclick="chec...
分类:
编程语言 时间:
2014-04-30 14:34:30
阅读次数:
409
模线性方程的基本应用#includeusing namespace std;int exgcd(int
a,int b,int &x,int &y){ if(b==0) { x=1; y=0; return a; } int d=ex...
分类:
其他好文 时间:
2014-04-30 14:33:27
阅读次数:
326
1. 先定义好 startActivity 的动画,在 BaseActivity 中 标明。2.
finish() 的时候, 也可以把动画效果自定义下。 重写 finish(), 把 dialog 弹出框给 miss 掉。php 服务端 好像 不好接受
false 的布尔值,所以 最好把 true ...
分类:
其他好文 时间:
2014-04-30 14:05:44
阅读次数:
291
1,inverse属性的作用:只有集合标记(set/map/list/array/bag)才有invers属性;以set为例,set的inverse属性决定是否把对set的改动反应到数据库中去,inverse=false(反应),inverse=true(不反应);默认值是false;one-to-...
分类:
系统相关 时间:
2014-04-30 13:21:33
阅读次数:
525
[DataMapping("Status", DbType.Int16)] public
System.Int16 Status { get; set; } public string StatusValue { get { if (Status
== 0) { return "审核拒绝"; } e...
分类:
数据库 时间:
2014-04-29 16:45:46
阅读次数:
344
Validate if a given string is numeric.Some
examples:"0"=>true" 0.1 "=>true"abc"=>false"1
a"=>false"2e10"=>trueNote:It is intended for the problem stat...
分类:
其他好文 时间:
2014-04-29 16:45:45
阅读次数:
398
var aQuery = function(selector, context) {return
new aQuery.prototype.init();//工厂方法创建一个对象}aQuery.prototype = {init: function()
{return this;},getAge: ...
分类:
Web程序 时间:
2014-04-29 16:31:46
阅读次数:
511