类与类之间的关系有:1、关联关系;2、组合关系;3、聚合关系;4、依赖关系;5、继承关系;6、实现关系;其中,组合关系和聚合关系都是特殊的关联关系。关联关系:A ->B A关联B 是单向关联,如果B->A,则形成双向关联;语义:A knows a B代码形式:class A{B *m_B;}组合关系...
分类:
其他好文 时间:
2015-10-04 12:23:35
阅读次数:
174
Everybody knows that https is http over SSL, and https is a secure way for protecting confidential data like bank account/password ,etc. Now I'd to sh...
分类:
Web程序 时间:
2015-09-20 17:35:18
阅读次数:
261
Lesson learnt: Get rid of XX algorithm routines clogging your mind and focus\enjoy the problem itself!// Forward declaration of the knows API.bool kno...
分类:
其他好文 时间:
2015-09-11 01:32:09
阅读次数:
336
Problem DescriptionEveryone knows Matt enjoys playing games very much. Now, he is playing such a game. There are N rooms, each with one door. There ar...
分类:
其他好文 时间:
2015-09-07 22:31:52
阅读次数:
301
RobberiesProblem DescriptionThe aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end,...
分类:
其他好文 时间:
2015-08-29 12:32:20
阅读次数:
202
DescriptionThe aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end, often because th...
分类:
其他好文 时间:
2015-08-25 14:05:56
阅读次数:
168
“无人机” 的第一个意思是“没有人”。英语可以译为nobody, no one, none 或 no people.例如:1. 他已经消失了多年。 无人知晓他的下落。He has disappeared for many years. Nobody knows where he is2. 在这场空难...
分类:
其他好文 时间:
2015-08-18 18:19:55
阅读次数:
138
Nobody knows who I really am 没有人知道我究竟是谁 I never felt this empty before 我以前从未感觉到如此虚无空荡 And if I ever need someone to come along 如果我需要有人来陪伴 Who‘s gonna comfort me a...
分类:
其他好文 时间:
2015-08-17 20:01:11
阅读次数:
155
DescriptionThe aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end, often because th...
分类:
其他好文 时间:
2015-08-16 19:42:58
阅读次数:
155
DescriptionThe aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end, often because th...
分类:
其他好文 时间:
2015-08-12 21:30:56
阅读次数:
123