// Playground - noun: a place where people can playimport UIKitvar str = "Hello, playground"var str1="test"str1println("ddddd")let implmentInteger : D...
分类:
编程语言 时间:
2014-09-21 22:44:01
阅读次数:
348
http://people.ee.duke.edu/~sorin/ece252/lectures/ ECE 252 / CPS 220 Advanced Computer Architecture I Fall 2009 Duke University Prof. Daniel Sorin (sorin@ee.duke.edu) based on slides developed by Pr...
分类:
其他好文 时间:
2014-09-21 15:11:01
阅读次数:
270
1、Function.apply,用于构造函数的继承,继承另外一个构建对象的属性与方法function People(name,age){ this.name = name; this.age = age;}function Student(age){ this.age = age; People....
分类:
移动开发 时间:
2014-09-19 20:58:45
阅读次数:
183
计算机视觉领域的一些牛人博客,超有实力的研究机构等的网站链接(1)googleResearch; http://research.google.com/index.html(2)MIT博士,汤晓欧学生林达华; http://people.csail.mit.edu/dhlin/index.html(...
分类:
Web程序 时间:
2014-09-19 11:33:45
阅读次数:
405
自动装配
在我们了解过constructor-arg和property装配中,都需要配置相应的属性和值或者引用,如果在比较复杂的项目中,就会使得XML的配置变得复杂,自动装配可以使用较少的配置实现。主要通过使用bean的autowire属性来控制,autowire可取值:
byName:为属性自动装配id与该属性的名字相同的bean
例如:People中有一个名为...
分类:
编程语言 时间:
2014-09-19 01:13:54
阅读次数:
219
Babelfish
Time Limit: 3000MS
Memory Limit: 65536K
Total Submissions: 32988
Accepted: 14189
Description
You have just moved from Waterloo to a big city. The people here ...
分类:
其他好文 时间:
2014-09-18 20:47:04
阅读次数:
232
问题 ============ JavaScript真的继承自Cmm吗? JavaScript与Java有多少关系? JavaScirpt最初的设计是怎样的?在许多资料,JavaScript的语源被追溯到一种名为Cmm的语言。同样是在这一溯源的过程中,人 们发现“其实”JavaScript不是第一种...
分类:
编程语言 时间:
2014-09-18 18:05:44
阅读次数:
285
手动编译安装的方式来升级gcc/g++甚至还需要升级gdb,是过于麻烦。对于怕麻烦的来说,直接安装devtools是最为简单快捷的。在http://people.centos.org/tru/,选择一个适合自己的版本,通过其中的readme文件可以了解到最简介的安装方法在https://access...
分类:
编程语言 时间:
2014-09-18 16:27:04
阅读次数:
495
//this is a program witch played by two people
//二人游戏,若第一个抛骰子,抛两次的和为7或11则第一人直接胜利,第二人直接失败
//若第一个人抛骰子,抛两次的和为2,3或12,则第一个人直接失败,第二人胜利
//若第一个人抛筛子,抛两次的和以上均不是,则由第二个人抛,直到有一方胜利
#include
#include
#include //...
分类:
编程语言 时间:
2014-09-17 16:56:42
阅读次数:
260
1.Human-Computer Interation->HCIhow people interact with technology三个维度:1.user:可以是老人、儿童,一个人、一个团队,等等。2.Task:简单的任务,到复杂的数据分析3.Context:即便用户一样,任务一样,环境不同也可能...
分类:
其他好文 时间:
2014-09-17 13:30:12
阅读次数:
159