C语言编程实现
展开全部 #include #include #include #define input "input.txt"#define output "output.txt"#define Max 20typedef struct _Word_{ char wd[Max]; int n;}sword;int main(int argc, char *argv[]){ FILE *fr,*fw; if((fr=fopen(input,"r"))==NULL) printf("open error"); char word[Max]; char c; int i=0,j=0,num=0,flag=0; sword *list=malloc(sizeof(sword)); do{ c=fgetc(fr); if(c!='\n'&&c!='\r'&&c!=' '&&c!=','&&c!='.'&&c!=EOF){ word[i++]=c; flag=0; } else{ if(0==flag){ flag=1; word[i]='\0'; i=0; for(j=0;jwd,word)==0){ (list+j)->n++; break; } if(j==num){ list=realloc(list,(num+1)*sizeof(sword)); strcpy((list+num)->wd,word); (list+num)->n=1; ++num; } } } }while(c!=EOF); fclose(fr); fw=fopen(output,"w"); for(i=0;in>=5) fprintf(fw,"%s\t%d\n",(list+i)->wd,(list+i)->n); } fclose(fw); return 0;}...
visual c ++6.0 作业
这个,宏梦官方是有虹猫和蓝兔的英文名的,虹猫是Homer,蓝兔是Landau。
至于动画片的名字……我可以翻译但是没有官方版本啊,不能算作正式的译名的。
翻译的方法是参照的外国的动画系列电影,有一个主标题(就是每部前面的“虹猫蓝兔”)和副标题(每部的内容):虹猫蓝兔七侠转——Homer & Landau the Seven Swordsman(“侠”的译法有很多…我取的自己觉得比较合适的一种…其实也不准确,七剑中有woman的)虹猫仗剑走天涯——Homer & Landau the Swordsman's Journey to the End of the World (捂脸……这个你还是别看了……不靠谱)虹猫蓝兔阿木星——Homer & Landau the A`Mu's Star虹猫蓝兔光明剑——Homer & Landau the Sword of Light (这是直译……不过总觉得味道不够,也许Light可以换成Justice……)虹猫蓝兔勇者归来——Homer & Landau Hero's Back以上仅供参考……译法真的很多,而且怎么处理语言间的关系有很多种方式。
汉语里一些东西,“侠义”一类的,英语里是表达不出来的,所以还是最喜欢汉语…不知道楼主为什么想把这些译成英文,介绍给外国人?哈。
希望帮到你咯。
[みかん堂] アイドル,求这个系列
Allegory 讽喻,比方 英文解释:an expressive style that uses fictional characters and events to describe some subject by suggestive resemblances; an extended metaphor 摘自英语专业《大学英语教程》一书 这是一种源于希腊文的修辞法,意为"换个方式的说法".它是一种形象的描述,具有双重性,表层含义与真正意味的是两回事. 例如: 1>.Make the hay while the sun shines.表层含义:趁着出太阳的时候晒草 真正意味:趁热打铁 2>.It's time to turn plough into sword. 附:【英语】修辞方法1.Simile 明喻 明喻是将具有共性的不同事物作对比.这种共性存在于人们的心里,而不是事物的自然属性. 标志词常用 like, as, seem, as if, as though, similar to, such as等. 例如: 1>.He was like a cock who thought the sun had risen to hear him crow. 2>.I wandered lonely as c cloud. 3>.Einstein only had a blanket on, as if he had just walked out of a fairy tale.2.Metaphor 隐喻,暗喻 隐喻是简缩了的明喻,是将某一事物的名称用于另一事物,通过比较形成. 例如: 1>.Hope is a good breakfast, but it is a bad supper. 2>.Some books are to be tasted, others swallowed, and some few to be chewed and digested.3.Metonymy 借喻,转喻 借喻不直接说出所要说的事物,而使用另一个与之相关的事物名称. I.以容器代替内容,例如: 1>.The kettle boils. 水开了. 2>.The room sat silent. 全屋人安静地坐着. II.以资料.工具代替事物的名称,例如: Lend me your ears, please. 请听我说. III.以作者代替作品,例如: a complete Shakespeare 莎士比亚全集 VI.以具体事物代替抽象概念,例如: I had the muscle, and they made money out of it. 我有力气,他们就用我的力气赚钱.4.Synecdoche 提喻 提喻用部分代替全体,或用全体代替部分,或特殊代替一般. 例如: 1>.There are about 100 hands working in his factory. 他的厂里约有100名工人. 2>.He is the Newton of this century. 他是本世纪的牛顿. 3>.The fox goes very well with your cap. 这狐皮围脖与你的帽子很相配.5.Synaesthesia 通感,联觉,移觉 这种修辞法是以视.听.触.嗅.味等感觉直接描写事物. 例如: 1>.The birds sat upon a tree and poured forth their lily like voice. 鸟儿落在树上,倾泻出百合花似的声音. 2>.Taste the music of Mozart. 品尝Mozart的音乐.6.Personification 拟人 拟人是把生命赋予无生命的事物. 例如: 1>.The night gently lays her hand at our fevered heads. 2>.I was very happy and could hear the birds singing in the woods.7.Hyperbole 夸张 夸张是以言过其实的说法表达强调的目的.它可以加强语势,增加表达效果.. 例如: 1>.I beg a thousand pardons. 2>.Love you. You are the whole world to me, and the moon and the stars. 3>.When she heard the bad news, a river of tears poured out.8.Parallelism 排比, 平行 这种修辞法是把两个或两个以上的结构大体相同或相似,意思相关,语气一致的短语.句子排列成串,形成一个整体. 例如: 1>.No one can be perfectly free till all are free; no one can be perfectly moral till all are moral; no one can be perfectly happy till all are happy. 2>.In the days when all these things are to be answered for, I summon you and yours, to the last of your bad race, to answer for them. In the days when all these things are to be answered for, I summon your brother, the worst of your bad race, to answer for them separately.9.Euphemism 委婉,婉辞法 婉辞法指用委婉,文雅的方法表达粗恶,避讳的话. 例如: 1>.He is out visiting the necessary. 他出去方便一下. 2>.His relation with his wife has not been fortunate. 他与妻子关系不融洽. 3>.Deng Xiaoping passed away in 1997.10.Allegory 讽喻,比方 这是一种源于希腊文的修辞法,意为"换个方式的说法".它是一种形象的描述,具有双重性,表层含义与真正意味的是两回事. 例如: 1>.Make the hay while the sun shines. 2>.It's time to turn plough into sword. 11.Irony 反语 反语指用相反意义的词来表达意思的作文方式.如在指责过失.错误时,用赞同过失的说法,而在表扬时,则近乎责难的说法. 例如: 1>.It would be a fine thing indeed not knowing what time it was in the morning. 2>"Of course, you only carry large notes, no small change on you. "the waiter said to the beggar.12.Pun 双关 双关就是用一个词在句子中的双重含义,借题发挥.作出多种解释,旁敲侧击,从而达到意想不到的 幽默.滑稽效果.它主要以相似的词形.词意和谐音的方式出现. 例如: 1>.She is too low for a high praise, too brown for a fair praise and too little for a great praise. 2>.An ambassador is an honest man who lies abroad for the good of his country. 3>.If we don't hang together, we shall hang separately.13.Parody 仿拟 这是一种模仿名言.警句.谚语,改动其中部分词语,从而使其产生新意的修辞. 例如: 1>.Rome was not built in a day, nor in a year. 2>.A friend in need is a friend to be avoided. 3>.If you give a girl an inch nowadays she will make address of it.14.Rhetorical ...
求名人有关语言的名言,越多越好
All for one, one for all. 人人为我,我为人人。
—— [法] Dumas pére大仲马 Other men live to eat, while I eat to live. 别人为食而生存,我为生存而食。
—— Socrates 苏格拉底 Easy come, easy go. 易得者亦易失。
—— Hazlitt赫斯特 Love rules his kingdom without a sword. 爱,统治了他的王国,不用一枝利剑。
—— Herbert 赫伯特 We soon believe what we desire. 我们欲望中的东西,我们很快就信以为真。
—— Chaucer乔叟 The darkest hour is that before the dawn. 黎明前的时分是最黑暗的。
—— Fuller 富勒 The longest day has an end. 最难过的日子也有尽头。
—— Howell 贺韦尔 Living without an aim is like sailing without a compass. 生活而无目标,犹如航海之无指南针。
—— J. Ruskin 鲁斯金 A bird in the hand is worth two in the bush. 手中的一只鸟胜于林中的两只鸟。
—— Heywood 希伍德 One swallow does not make a summer. 一燕不成夏。
—— Taverner 泰维纳 A man may lead a horse to the water, but he cannot make it drink. 一个人可以把马带到河边,但他不能令它饮水。
—— Heywood 希伍德 One cannot eat one's cake and have it. 一个人不能把他的糕饼吃掉之后还留在手上。
—— Davies 戴维斯 Time is money. 时间就是金钱。
—— Benjamin Franklin富兰克林 Time and tide wait for no man. 时间不等人。
—— Scott 斯科特 There is no rose without a thorn. 没有玫瑰花是不长刺的。
—— Ray 雷 Lookers-on see most of the game. 旁观者清。
—— Smedley 斯密莱 Beggars cannot be choosers. 行乞者不得有选择。
—— Heywood 希伍德 First catch your hare. 首先必须捕获兔子,然后才能宰之。
—— Thackeray 萨克雷 Victory won't come to me unless I go to it. 胜利是不会向我走来的,我必须自己走向胜利。
—— M. Moore 穆尔 A great man is always willing to be little. 伟大的人物总是愿意当小人物的。
—— R. W. Emerson 爱默生 Cowards die many times before their deaths. 懦夫在未死之前,已身历多次死亡的恐怖了。
—— Julius Caesar 凯撒 Anything one man can imagine, other men can make real. 但凡人能想象到的事物,必定有人能将它实现。
—— Jules Verne 凡尔纳 Early to bed and early to rise, makes a man healthy, wealthy, and wise. 早睡早起使人健康、富裕又聪明。
—— Benjamin Franklin 富兰克林 Life is just a series of trying to make up your mind. 生活只是由一系列下决心的努力所构成。
—— T. Fuller 富勒 Goals determine what you are going to be. 目标决定你将成为为什么样的人。
—— Julius Erving欧文 All human wisdom is summed up in two words ?C wait and hope. 人类所有的智慧可以归结为两个词 — 等待和希望。
—— Alexandre Dumas Pére大仲马(法国作家) It is not enough to be industrious, so are the ants. What are you industrious for? 光勤劳是不够的,蚂蚁也是勤劳的。
要看你为什么而勤劳。
—— H. D. Thoreau梭罗 You have to believe in yourself. That's the secret of success. 人必须相信自己,这是成功的秘诀。
—— Charles Chaplin卓别林 Nothing is more precious than independence and freedom. 没有什么比独立自由更可宝贵的了。
—— [越南] Ho Chi Minh胡志明 I like the dreams of the future better than the history of the past. 我不缅怀过去的历史,而致力于未来的梦想。
—— T. Jefferson 杰弗逊(美国第3任总统) Money is round. It rolls away. 圆圆钱币,滚走容易。
—— S. Aleichen 阿雷钦 We are here to add what we can to life, not to get what we can from it. 我们要尽可能为生活增加一些东西,而不是从中索取什么。
—— William Osler 奥斯勒 Life itself, without the assistance of colleges and universities, is becoming an advanced institution of learning. 没有学院和大学的帮助,人生本身也正在变成一所高等学府。
—— Thomas Alva Edison 爱迪生 Work while you work; Play while you play; This is the way; To be cheerful and gay. 工作时工作, 玩乐是玩乐, 依此方法做, 轻松与欢乐。
—— A. D. Stoddart 斯道达特 英语名人名言 What's in a name? That which we call a rose by any other name would smell as sweet. 名称有什么关系呢?玫瑰不叫玫瑰,依然芳香如故。
——Shakespeare There is but one step from the sublime to the ridiculous. 崇高与荒谬仅一步之遥。
——Napoleon Even when the experts all agree, they may well be mistaken. 即使所有的专家都一致赞同,他们可能也错了。
——Bertrand Russell Sometimes the most urgent and vital thing you can possibly do is take a complete rest. 有时候你能做的最紧急重要的事情就是彻底休息。
——Ashleigh Brilliant Little drops of water, little grains of sand, make the mighty ocean and the pleasant land. 滴滴小水珠,颗颗小沙粒,会形成浩瀚的海洋与宜人的土地。
——Julia Carney Even the weariest river winds somewhere safe to sea. 即使是最疲惫的河流,历经曲折,也终会安然入海。
——Swinburne The history of mankind is the history of ideas. 人...
高一英语求助~~
一、独立主格结构的概念及基本构成形式 独立主格结构(the absolute structure)是由名词或代词加上分词或分词短语构成的一种独立结构,用于修饰整个句子,而不是一个词或词组。
独立主格结构中的名词或代词与其后的分词或分词短语构成逻辑上的主谓关系。
这种结构与主句不发生句法上的联系,独立主格结构的位置相当灵活,可置于主句前、主句末或主句中,常由逗号将其与主句分开。
需特别注意的是,独立主格结构与主句之间不能使用任何连接词。
例如 1)Night enshrouding the earth,nobody could make out what the dark mass was from a distance.(黑夜笼罩大地,谁也看不清远处黑压压的一片是什么东西。
) 2)He lay at full length upon his stomach,his head resting upon his left forearm.(他的脊背朝天,四肢伸展,头枕着左臂,直挺挺地趴伏着。
) 3)The coward was backing,his face being deathly pale,toward another room.(那个胆小鬼向另一个房间退去,脸色煞白。
) 独立主格结构多用于书面语,尤其是描述性语言中,在口语和非正式文体中,一般用从句或两个句子来代替。
例如,上述例句可变为: 1)Because night enshrouded the earth, nobody could make out what the dark mass was from a distance. 2)He lay at full length upon his stomach.His head rested upon his left forearm. 3)The coward was backing toward another room.His face was deathly pale. 二、独立主格结构的特殊构成形式 独立主格结构除上述基本构成形式,即名词/代词+分词(短语)外,还有如下特殊构成形式。
1.名词+介词短语 1)The mayor of Hiroshima strode at a leisure pace toward the puzzled journalist,a bunch of flowers in his hands.(广岛市市长双手捧着一束鲜花,迈着方步走向那个迷惑不解的记者。
) 2)Every afternoon a very old woman hobbled past the ramshackle house,a vast load of firewood on her back.(每天下午,一个背着一大背柴禾的老妇人都会从那间东倒西歪的房屋前蹒跚着走过。
) 2.名词+形容词(短语) 1)The Trojans asleep,the Greek soldiers crept out of the hollow wooden horse.(特洛伊人睡着了,于是希腊士兵从中空的木马里悄悄爬了出来。
) 2)The wretched boy,who has recently been dragged from the forest to scrub floors in the barracks,is now sweeping away the snow,his hands numb with cold.(那个可怜的小男孩最近刚刚从森林中被抓进兵营里打扫地板,现在他正在扫雪,手都冻麻了。
) 3.名词+副词 1)This little excitement over,nothing was to be done but to return to a steadfast gaze at my mute companion.(一阵小小的兴奋过后,除了再去死死地盯着我的哑伴外,别无它事可干了。
) 2)This intermezzo over,he found himself surrounded by several stunning, porcelain-faced Japanese women in kimonos.(这曲子过后,他发现自己身处几位穿着和服并且有着娇好面容的日本女人的包围之中。
) 此外,with常常用在独立主格结构前,构成介词短语作状语。
这种用法中的with不表达什么意义,因而常可省略。
请看例句: 1)With a revolver in his right hand, Johnny hurled his muscular body against the door and smashed it down with a crash.(约翰尼右手拿着左轮手枪,健壮的身体猛扑在门上,轰隆一声把门撞开了。
) 2)The traffic inched along,with horns honking.(汽车缓慢地向前挪着,喇叭声不断响着。
) 三、独立主格结构的用法 独立主格结构在句中一般作状语,表示时间、条件、原因、伴随状况等。
1.作时间状语 1)My shoes removed,I entered a low-ceilinged room,treading cautiously on the soft tatami matting.=After my shoes were removed, I entered a low-ceilinged room,treading cautiously on the soft tatami matting.(我脱掉鞋子后,走进一间屋顶很低的房间,小心翼翼地踩在柔软的塌塌米垫子上。
) 2)The governor pondering the matter, more strikers gathered across his path.=While the governor was pondering the matter,more strikers gathered across his path.(总督思考这个问题时,更多的罢工工人聚集在他要通过的路上。
) 2.作条件状语 1)Weather permitting,they will go on an outing to the beach tomorrow.=If weather permits,they will go on an outing to the beach tomorrow.(如果天气允许的话,他们将在明天组织一次海滨小游。
) 2)Such being the case,you have no grounds for dismissing him.=If such is the case,you have no grounds for dismissing him.(如果情况如此的话,你没有理由解聘他。
) 3.作原因状语 1)The storm drawing near,the navvy decided to call it a day.=Since the storm was drawing near,the navvy decided to call it a day.(由于暴风雨即将来临,那个挖土小工决定收工。
) 2)The Cossack being intent on his stalking,his foot touched the protruding bough that was the trigger.=Because the Cossack was intent on his stalking,his foot touched the protruding bough that was the trigger.(这位哥萨克人只顾专心致志地朝前大步走着,所以一只脚踩上了伸出地面的树枝,那是一个机关的起动装置...
墙-煎-饭