1. 什么是组合?如果一个类的对象和另一个类满足"has-a"关系的话,我们就可以在一个类中,把另一个类的对象作为其对象成员。 什么是"has-a"关系,举个例子:现在有一个类LapTop.class,还有一个是Moniter.class。好显然,Laptop "has-a" Moniter,也就是...
分类:
编程语言 时间:
2014-06-24 10:12:34
阅读次数:
240
You may select a form of payment after your account balance reaches $10.00.Learn more显然是说达到10美元以后才可以选择一个收款的Form
分类:
其他好文 时间:
2014-06-24 10:09:20
阅读次数:
204
阅读内核代码习惯和喜欢使用source insight。如果能在source insight上修改内核代码,同时又不需要把修改的内核代码再拷贝到虚拟ubuntu上去那就方便了。于是想通过用samba与xp共享的方式来实现。即xp、samba、虚拟ubuntu9.10等工具。事实上是可以的,用sour...
分类:
其他好文 时间:
2014-06-24 09:57:21
阅读次数:
391
Install apache2To execute the install command in terminal:sudo apt-get install apache2Then, we can find that the apache2 has been installed in "/etc/"...
分类:
Web程序 时间:
2014-06-24 09:39:53
阅读次数:
363
tableview 滑动导致 NSTimer和delegate 回调停止 解决办法// request回调NSURLRequest*request=...NSURLConnection*connection=[[NSURLConnectionalloc] ...
分类:
其他好文 时间:
2014-06-22 23:51:14
阅读次数:
233
题目描述There are a bunch of stones on the beach; Stone color is white or black. Little Sheep has a magic brush, she can change the color of a continuous ...
分类:
其他好文 时间:
2014-06-22 23:46:15
阅读次数:
199
本文描述了 MFC 中的树形控件 TreeCtrl 的简单使用,内容包括数据项的添加、图标设置、提示信息设置等。
新建基于对话框的应用程序,添加一个 TreeCtrl ,为其定义一个控件变量 m_userTreeCtrl,并将其属性:Has Buttons、Has Lines、Lines At Root和 Info Tip 都设为True。插入3个Icon资源,分别作为 管理员、部门、用...
分类:
其他好文 时间:
2014-06-22 19:16:28
阅读次数:
284
一介绍:
`.ARM.exidx` is the section containing information for unwinding the stack. If your C program has functions that print out a stack backtrace, the functions will likely depend on this section bei...
分类:
其他好文 时间:
2014-06-22 00:31:07
阅读次数:
618
Virtualization Basics Virtualization is not a new concept, but its complexity has been growing, and a number of new paradigms are rising. I will try t...
分类:
其他好文 时间:
2014-06-21 18:08:03
阅读次数:
336
1. Consumers and producers Producers create messages and publish (send) them to a broker server (RabbitMQ). A message has two parts: a payload and a l...
分类:
其他好文 时间:
2014-06-21 14:33:14
阅读次数:
431