|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
翻译原文:Reusability
Data structures are reusable because they tend to be modular and context-free. They are modular because each has a prescribed interface through which access to data stored in the data structure is restricted. That is, we access the data using only those operations the interface defines. Data structures are context-free because they can be used with any type of data and in a variety of situations or contexts. In C, we make a data structure store data of any type by using void pointers to the data rather than by maintaining private copies of the data in the data structure itself.
翻译答案:复用性:因为数据结构趋向于模块化并和环境无关,所以数据结构是可以复用的。因为每种结构有一个预定的接口,通过该接口限制访问存储在数据结构中的数据,所以它们是模块化的。也就是说,我们只能使用接口定义的那些操作来访问数据。因为数据结构能用于任何类型的数据,并用于多种环境中,所以数据结构与使用环境无关。在C语言中,我们通过使用空指针,而不是通过维护非公开的数据备份,使数据结构存储任何类型的数据。
读完一本书翻译原文:Then they filed back to the farm buildings and halted in silence outside the door of the farmhouse. That was theirs too, but they were frightened to go inside. After a moment, however, Snowball and Napoleon butted the door
open with their shoulders and the animals entered in single file, walking with the utmost care for fear of disturbing anything. They tiptoed from room to room, afraid to speak above a whisper and gazing with a kind of awe at the
unbelievable luxury, at the beds with their feather mattresses, the lookingglasses, the horsehair sofa, the Brussels carpet, the lithograph of Queen Victoria over the drawing-room mantelpiece. They were lust coming down the stairs
when Mollie was discovered to be missing. Going back, the others found that she had remained behind in the best bedroom. She had taken a piece of blue ribbon from Mrs. Jones’s dressing-table, and was holding it against her shoulder and admiring herself in the glass in a very foolish manner. The others reproached her sharply, and they went outside. Some hams hanging in the kitchen were taken out for burial, and the barrel of beer in the scullery was stove in with a kick from Boxer’s hoof, — otherwise nothing in the house was touched. A unanimous resolution was passed on the spot that the farmhouse should be preserved as a museum. All were agreed that no animal must ever live there.
翻译答案:后来,他们列队向庄园的窝棚走去,在庄主院门外静静地站住了。这也是他们的,可是,他们却惶恐得不敢进去。过一会儿,斯诺鲍和拿破仑用肩撞开门,动物们才鱼贯而入,他们小心翼翼地走着,生怕弄乱了什么。他们踮起蹄子尖一个屋接一个屋地走过,连比耳语大一点的声音都不敢吱一下,出于一种敬畏,目不转睛地盯着这难以置信的奢华,盯着镜子、马鬃沙发和那些用他们的羽绒制成的床铺,还有布鲁塞尔毛圈地毯,以及放在客厅壁炉台上的维多利亚女王的平版肖像。当他们拾级而下时,发现莫丽不见了。再折身回去,才见她呆在后面一间最好的卧室里。她在琼斯夫人的梳妆台上拿了一条蓝饰带,傻不唧唧地在镜子前面贴着肩臭美起来。在大家严厉的斥责下,她这才又走了出来。挂在厨房里的一些火腿也给拿出去埋了,洗碗间的啤酒桶被鲍克瑟踢了个洞。除此之外,房屋里任何其他东西都没有动过。在庄主院现场一致通过了一项决议:庄主院应保存起来作为博物馆。大家全都赞成:任何动物都不得在此居住。
翻译篇(每次翻译的量都不会很大,全部翻译才有奖励哦)
非计算机方向系列:读完一本书(这是一本经典书籍,里面的每一个单词都值得查阅)
每日一句
Curiosity is the lust of the mind.
好奇心是大脑的渴望。 (刮刮乐,挂出大奖)
|
|