①判断是否是整数!function isInteger(obj) {return typeof obj === 'number' && obj%1 === 0}
分类:
Web程序 时间:
2014-07-16 18:54:20
阅读次数:
226
IEEE二进制浮点数算术标准(IEEE 754)是20世纪80年代以来最广泛使用的浮点数运算标准,为许多CPU与浮点运算器所采用。这个标准定义了表示浮点数的格式(包括负零-0)与反常值(denormal number)),一些特殊数值(无穷(Inf)与非数值(NaN)),以及这些数值的“浮点数运算符...
分类:
其他好文 时间:
2014-07-16 18:45:57
阅读次数:
264
从http://wtl.sourceforge.net/下载 WTL 9.0,或者点此链接下载:WTL90_4140_Final.zip,然后解压到你的VC目录下面,我的地址是:C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\WTL,你可...
Letter Combinations of a Phone NumberGiven a digit string, return all possible letter combinations that the number could represent.A mapping of digit ...
分类:
其他好文 时间:
2014-07-16 17:54:24
阅读次数:
222
1.出现This AndroidSDK requires Android Developer Toolkit version 20.0.0or above 的报错windows下面安装Android虚拟机,有时候选择更新SDK后,在Eclipse preference里指向android_sdk_w...
分类:
移动开发 时间:
2014-07-15 23:38:27
阅读次数:
342
ENTBOOST,VERSION 2014.183 Linux版本发布,主要增加PC端P2P(点对点)文件传输功能;发布安卓Android手机客户端APP 1.0版本;发布苹果IOS手机(平板)客户端SDK测试版本,完善安卓SDK功能及部分BUG修正;
7/16(明天)发布Windows版本,敬请关注!
ENTBOOST是跨平台、跨应用的实时通讯平台;恩布网络致力于帮助开发者、软件公司...
分类:
系统相关 时间:
2014-07-15 13:09:46
阅读次数:
393
strip删除-g生成的程序调试连接表的信息对于可执行文件,使用命令strip之后,体积只有原来的九分之一strip命令ThestripcommandremovesthesymboltableSHT_SYMTABanditsassociatedstringtable,debugginginformation,andlinenumberinformationfromELFobjectfiles.Thatis,besidesth..
分类:
其他好文 时间:
2014-07-15 10:54:43
阅读次数:
477
int isPrime( int number ) { int ret=1; //先标记为“是1”素数,如果下面发现不是,再标记为“不是0” if( number<2 ){ //小于2的整数都不是素数 ret = 0; } else if( number == 2 ){ // 2是素数 ret .....
分类:
其他好文 时间:
2014-07-15 10:07:55
阅读次数:
185
安装准备
(1)确认系统版本、内核版本
# oslevel –r //查看操作系统版本
//-08可以安装10g,-09可以安装11g
# prtconf |more //打印硬件配置信息
System Model: IBM,7028-6C4
Machine Serial Number: 10681AA
Processor Type: PowerPC_PO...
分类:
数据库 时间:
2014-07-14 18:21:51
阅读次数:
454
Doc ID 428681.1Applies to: Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.1.0 [Release 10.2 to 11.2]Information in this document applies to any platform.GoalThe goal of this note i...
分类:
其他好文 时间:
2014-07-14 18:12:01
阅读次数:
343