摘要:
1.什么是闭包1)官方解释一个拥有多个变量和绑定了这些变量的环境的表达式(一般是一个函数)。因而这些变量也是该表达式的一部分。我的理解:所谓的闭包就是连接函数内部和函数外部的一座桥梁。使得在外部也可以訪问到函数内部的变量。2)闭包的特点A:作为一个函数变量的一个引用,当函数返回时,其处于激活状态。B... 阅读全文
posted @ 2015-08-08 16:15
hrhguanli
阅读(199)
评论(0)
推荐(0)
摘要:
static void Main(string[] args){ // Generate data int arraySize; int[] data; Random rnd; arraySize = 32768; data = new int[arraySize... 阅读全文
posted @ 2015-08-08 14:43
hrhguanli
阅读(189)
评论(0)
推荐(0)
摘要:
称号: Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate ex... 阅读全文
posted @ 2015-08-08 14:03
hrhguanli
阅读(139)
评论(0)
推荐(0)
摘要:
(一个)继承制度的声明:class Date {...};class Customer {public: ...private: string name; Date lastTransaction;};class PriorityCustomer : public Customer {public:... 阅读全文
posted @ 2015-08-08 12:54
hrhguanli
阅读(226)
评论(0)
推荐(0)
摘要:
今天遇到这个问题:mark一点点:在类名上单击右键。选择Reference->Workingspace快捷克债券Ctrl+Shift+G 版权声明:本文博客原创文章,博客,未经同意,不得转载。 阅读全文
posted @ 2015-08-08 11:18
hrhguanli
阅读(1809)
评论(0)
推荐(0)
摘要:
20 client记忆client几种形式存储的:web记忆cookieIE userData 离线应用web数据库文件系统api20.1 localStorage 和 sessionStorage20.1 .1 存储有效期和作用域localStorage 和 sessionStorage差别在于存... 阅读全文
posted @ 2015-08-08 09:09
hrhguanli
阅读(384)
评论(0)
推荐(0)

浙公网安备 33010602011771号