|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
翻译原文:We can implement a queue in a computer's memory within a block of contiguous cells in a way similar to our storage of a stack. Since we need to perform operations at both ends of the structure, we set aside two memory cells to use as pointers instead of just one, as we did for a stack. One of these pointers, called the head pointers keeps track of the head of the queue; the other, called the tail pointer, keeps track of the tail.
翻译答案:我们可以像存储栈那样通过连续单元组成的存储块在计算机主存储器中实现队列。因为我们需要在此结构的两端都进行操作,我们分配出两个存储单元用来当作指针,而非栈中那样仅仅需要一个单元来存储指针。其中的一个指针被称为头指针,用来保持队列头的轨迹;另一个指针被称为尾指针,用来保持队尾的轨迹。
读完一本书翻译原文:Nevertheless, they were both thoroughly frightened by the rebellion on Animal Farm, and very anxious to prevent their own animals from learning too much about it. At first they pretended to laugh to scorn the idea of animals
managing a farm for themselves. The whole thing would be over in a fortnight, they said. They put it about that the animals on the Manor Farm (they insisted on calling it the Manor Farm; they would not tolerate the name ‘Animal Farm’) were perpetually fighting among themselves and were also rapidly starving to death. When time passed and the animals had evidently not starved to death, Frederick and Pilkington changed their tune and began to talk of the terrible wickedness that now flourished on Animal Farm. It was given out that the animals there practised cannibalism, tortured one another with red-hot horseshoes, and had their females in common. This was what came of rebelling against the laws of Nature, Frederick and Pilkington said.
翻译答案:
话虽如此,可是这一次,他们俩都被动物庄园的造反行动彻底吓坏了,急不可待地要对他们自己庄园里的动物封锁这方面的消息。开始的时候,他们对动物们自己管理庄园的想法故作嘲笑与蔑视。他们说,整个事态两周内就会结束。他们散布说,曼纳庄园 (他们坚持称之为曼纳庄园,而不能容忍动物庄园这个名字)的畜牲总是在他们自己之间打斗,而且快要饿死了。过一段时间,那里的动物显然并没有饿死,弗雷德里克和皮尔金顿就改了腔调,开始说什么动物庄园如今邪恶猖獗。他们说,传说那里的动物同类相食,互相用烧得通红的马蹄铁拷打折磨,还共同霸占他们中的雌性动物。弗雷德里克和皮尔金顿说,正是在这一点上,造反是悖于天理的。
翻译篇(每次翻译的量都不会很大,全部翻译才有奖励哦)
非计算机方向系列:读完一本书(这是一本经典书籍,里面的每一个单词都值得查阅)
每日一句
No matter what people tell you, words and ideas can change the world.
不论别人怎么说,言语和想法能改变世界。 (刮刮乐,挂出大奖)
|
|