/*开始 初始CSS模板 开始*/ body, div, address, blockquote, iframe, ul, ol, dl, dt, dd, li, dl, h1, h2, h3, h4, h5, h6, p, pre, table, caption, th, t...
分类:
Web程序 时间:
2014-07-09 18:34:38
阅读次数:
241
Robot Motion
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 10280
Accepted: 5006
Description
A robot has been programmed to follow the instructions in...
分类:
其他好文 时间:
2014-07-09 11:24:57
阅读次数:
290
Robot Motion
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 10280
Accepted: 5006
Description
A robot has been programmed to follow the instructions in...
分类:
其他好文 时间:
2014-07-09 11:24:16
阅读次数:
196
TCP创建socket:1 int socket(int domain, int type, int protocol);AF = Address FamilyPF = Protocol FamilyAF_INET IPv4 Internet protocols ip(7)AF_INET6 IPv6...
分类:
其他好文 时间:
2014-07-08 22:39:05
阅读次数:
352
最近工作中,发现了一个bug,是和ListView Adapter有关的。产生了FC,描述信息大约是
"The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a b...
分类:
其他好文 时间:
2014-07-08 20:09:41
阅读次数:
199
Ruby has its own style to define the abstract methods in its class....
分类:
其他好文 时间:
2014-07-08 19:45:49
阅读次数:
145
Robot Motion
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 10267
Accepted: 5001
Description
A robot has been programmed to follow the instructions ...
分类:
其他好文 时间:
2014-07-08 19:13:43
阅读次数:
203
《Think in java·第 6 章类再生》
读TIJ -1 对象入门 中已经就代码复用性吐槽了。继承关系在结果上(不是为了代码复用而设计继承关系)为代码复用提供了新的途径。
本章看其目录就比较杂,程序员的内聚思想去哪儿了?合成复用优先——合成、继承,为什么实现继承是不好的……
6.1 合成的语法
解释了一个例程,没有什么好说的。has_a关系。
6.2 继承的语法
【You ca...
分类:
其他好文 时间:
2014-07-08 18:01:33
阅读次数:
198
套接字是通信端点的抽象。文件描述符用open函数创建,而套接字描述符用socket函数创建。socket函数原型如下:
int socket(int domain, int type, int protocol);
// 返回值:成功返回套接字描述符,失败返回-1
domain域确定通信特性,不同的域表示地址的格式不同,表示域的常数以AF开头,表示地址族(address family)...
分类:
系统相关 时间:
2014-07-08 16:34:18
阅读次数:
333
UITextView in iOS7 has been really weird. As you type and are entering the last line of your UITextView, the scroll view doesn't scroll to the bottom like it should and it causes the text to be "clipp...
分类:
移动开发 时间:
2014-07-08 11:14:15
阅读次数:
225