本地对象:ECMA-262 把本地对象(native object)定义为“独立于宿主环境的 ECMAScript 实现提供的对象”。 简单来说,本地对象就是 ECMA-262 定义的类(引用类型)内置对象:ECMA-262 把内置对象(built-in object)定义为“由 ...
分类:
编程语言 时间:
2014-08-29 15:56:18
阅读次数:
304
/*
* Helper functions for managing events -- not part of the public interface.
* Props to Dean Edwards' addEvent library for many of the ideas.
*/
jQuery.event = {
add: function( elem, types, han...
分类:
Web程序 时间:
2014-08-28 16:19:39
阅读次数:
214
3.1 算术运算符
二元运算符:+-*/ ^ (加减乘除幂)
一元运算符:-(负值)
这些运算符的操作数都是实数。
3.2 关系运算符
= == ~=
==,~=如果两个值d类型不同,则不等
lua通过引用比较tables,userdata,functions,也就是当且仅当表示同一个对象时才相等。
3.3 逻辑运算符
and or not
a and b -- ...
分类:
其他好文 时间:
2014-08-27 14:49:38
阅读次数:
176
这里是vector的所有构造方法,成员方法的一些总结,具体的可以详看后面的链接。
容器:Vector
原型:
template > class vector;
描述:vector是一种顺序容器,其行为类似于大小可以改变的array数组。
跟array一样,vector使用连续的存储单元来存储里面的元素。这意味着vector可以使用正常的指针的偏移量来访问其元素。它跟array一样的高...
分类:
其他好文 时间:
2014-08-27 13:07:08
阅读次数:
289
The people of Absurdistan discovered how to build roads only last year. After the discovery, every city decided to build their own road connecting their city with another city. Each newly built road c...
分类:
其他好文 时间:
2014-08-27 10:56:38
阅读次数:
347
在functions.php文件里面添加下面的代码就行了。if(is_admin()){ function hcsem_cdn_callback($buffer) {return str_replace('googleapis.com', 'useso.com', $buffer);} ...
Communicating
with Hardware
Using I/O Ports
I/O ports are the means by which drivers communicate with many devices, at least
part of the time. This section covers the various functions...
分类:
其他好文 时间:
2014-08-26 15:36:16
阅读次数:
363
Techniques for Writing C Functions...
分类:
其他好文 时间:
2014-08-25 21:17:14
阅读次数:
340
Primitive Built-in TypesTypeImplicationMinimum storage spaceboolbooleanNAcharcharacter8 bitswchar_twide character16 bitsshortshort integer16 bitsintin...
分类:
编程语言 时间:
2014-08-25 11:37:34
阅读次数:
123
Description
Japan plans to welcome the ACM ICPC World Finals and a lot of roads must be built for the venue. Japan is tall island with N cities on the East coast and M cities on the West coast (M <= ...
分类:
其他好文 时间:
2014-08-24 23:54:53
阅读次数:
263