首页 > 编程语言 >c语言编译器IDE英汉翻译词典程序代码

c语言编译器IDE英汉翻译词典程序代码

时间:2024-09-07 21:20:30浏览次数:13  
标签:ndj int 英汉翻译 inputWord 编译器 include prep 程序代码 ndv

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>

typedef struct {
char english[50];
char chinese[50];
} WordTranslation;

int main() {
int x;
int n, g = 1;
while (g) {
n = 0;
WordTranslation translations[] = {

{“abandon”, “v.抛弃,放弃”},
{“abandonment”, “n.放弃”},
{“abbreviation”, “n.缩写”},
{“abeyance”, “n.缓办,中止”},
{“abide”, “v.遵守”},
{“ability”, “n.能力”},
{“able”, “ndj.有能力的,能干的”},
{“abnormal”, “ndj.反常的,变态的”},
{“aboard”, “ndv.船(车)上”},
{“abolish”, “v.废除,取消”},
{“abolition”, “n.废除,取消”},
{“abortion”, “n.流产”},
{“abortive”, “ndj.无效果的,失败的”},
{“about”, “prep.关于,大约”},
{“above”, “prep.在…之上,高于”},
{“above-mentioned”, “ndj.上述的”},
{“abreast”, “ndv.并肩,并列”},
{“abridge”, “v.省略,摘要”},
{“abroad”, “ndv.国外,海外”},
{“abrogate”, “v.取消,废除”},
{“abrogation”, “n.取消,废除”},
{“abrupt”, “ndj.突然的,生硬的”},
{“abruptly”, “ndv.突然地”},
{“absence”, “n.缺席,缺乏”},
{“absent”, “ndj.缺席的,不存在”},
{“absent-minded”, “ndj.心不在焉的”},
{“absolute”, “ndj.完全的,绝对的”},
{“absolutely”, “ndv.绝对,完全”},
{“absorb”, “v.吸收,专心于”},
{“absorption”, “n.吸收,专注”},
{“abstract”, “ndj.抽象的,难懂的”},
{“abstraction”, “n.抽象,提取”},
{“absurd”, “ndj.荒唐的”},
{“absurdity”, “n.荒唐(事)”},
{“abundance”, “n.丰富,大量”},
{“abundant”, “ndj.丰富的,充裕的”},
{“abuse”, “v.滥用,谩骂”},
{“abasement”, “n.滥用”},
{“academic”, “ndj.学院的,学术的”},
{“academy”, “n.学院,研究院”},
{“accede”, “v.同意”},
{“accelerate”, “v.加速,加快”},
{“acceleration”, “v.加速,促进”},
{“accent”, “n.腔调 v.重读”},
{“accept”, “v.接受,同意”},
{“acceptable”, “ndj.可接受的,合意的”},
{“acceptance”, “n.接受,承兑”},
{“access”, “n.接近,入口”},
{“accessible”, “ndj.可接近的”},
{“accessory”, “n.附件,装饰品”},
{“accident”, “n.事故,意外之事”},
{“accidental”, “ndj.意外的,偶然的”},
{“accidentally”, “ndv.偶尔,附带”},
{“accommodate”, “v.提供便利,拆借”},
{“accommodation”, “n.便利,通融”},
{“accompaniment”, “n.伴侣,伴奏”},
{“accompany”, “v.伴随,伴奏”},
{“accomplish”, “v.完成,达到”},
{“accomplishment”, “n.成就”},
{“accord”, “v.符合,协调”},
{“accordance”, “n.按照,与…一致”},
{“according”, “ndj.按照,据…说”},
{“accordingly”, “ndj.相应地,从而”},
{“account”, “n.账目 v.说明”},
{“accountant”, “n.会计(师)”},
{“accounting”, “n.会计学”},
{“accrue”, “v.产生,发生”},
{“accrued”, “ndj.增值的,应计的”},
{“accumulate”, “v.积累,积蓄”},
{“accumulation”, “n.积累”},
{“accumulative”, “ndj.积累的”},
{“accuracy”, “n.准确(性)”},
{“accurate”, “ndj.准确的,精密的”},
{“accurately”, “ndj.准确地”},
{“accusation”, “n.控告”},
{“accuse”, “v.告发,指责”},
{“accustom”, “v.使…习惯于”},
{“ache”, “v.觉得疼 n.疼痛”},
{“aching”, “ndj.疼痛的”},
{“achieve”, “v.完成,实现”},
{“achievement”, “n.完成,成就”},
{“acid”, “n.酸”},
{“acknowledge”, “v.承认,鸣谢”},
{“acknowledgment”, “n.承认,鸣谢,回执”},
{“acquaint”, “n.使熟悉,相识”},
{“acquaintance”, “n.熟悉人,相识”},
{“acquaintant”, “ndj.熟悉的”},
{“acquire”, “v.求得,获得”},
{“acquisition”, “n.获得”},
{“acre”, “n.英亩”},
{“acrobat”, “n.杂技演员”},
{“acrobatics”, “n.杂技”},
{“across”, “prep.横越 adv.横穿”},
{“act”, “n.行为,法令 v.表演”},
{“action”, “n.行为,行动”},
{“activate”, “v.使活跃,开动”},
{“active”, “ndj.活跃的,积极的”},
{“actively”, “ndv.积极地,活跃地”},
{“activity”, “n.活动”},
{“actor”, “n.男演员”},
{“actress”, “n.女演员”},
{“actual”, “ndj.现实的,实际的”},
{“actuality”, “n.实际”},
{“actually”, “ndv.实际上,居然”},
{“acute”, “ndj.剧烈的,敏锐的”},
{“a.d.”, " (缩)公元"},
{“ad”, “n.(缩)广告”},
{“adapt”, “v.使适应,改编”},
{“adaptation”, “n.适应”},
{“add”, “v.增添,加,补充”},
{“addition”, “n.增加,附加物”},
{“additional”, “ndj.增加的,附加的”},
{“additive”, “ndj.附加的 n.添加剂”},
{“address”, “n.地址 v.致词”},
{“adequate”, “ndj.足够的,恰当的”},
{“adequately”, “ndv.恰当地”},
{“adhere”, “v.粘附,坚持”},
{“adhesive”, “n.粘合剂”},
{“adjacent”, “ndj.邻近的”},
{“adjective”, “n.形容词”},
{“adjoin”, “v.毗连”},
{“adjust”, “v.调整,修整”},
{“adjustable”, “ndj.可调整的”},
{“adjustment”, “n.调整”},
{“administer”, “v.管理”},
{“administration”, “n.行政管理,管理机关”},
{“administrative”, “ndj.行政管理的”},
{“admirable”, “ndj.可钦佩的”},
{“admiration”, “n.羡慕,钦佩”},
{“admire”, “v.钦佩,赞美”},
{“admission”, “n.准入,承认”},
{“admit”, “v.承认,接纳”},
{“admittedly”, “ndv.明白地”},
{“adolescence”, “n.青春期”},
{“adolescent”, “ndj.青春期的”},
{“adopt”, “v.采用,采纳”},
{“adoption”, “n.采用”},
{“adore”, “v.崇拜,敬慕”},
{“adorn”, “v.装饰,佩带”},
{“adornment”, “n.装饰(品)”},
{“adult”, “n.成年人 adj.成年的”},
{“advance”, “n.,v.前进”},
{“advanced”, “ndj.先进的,发达的”},
{“advantage”, “n.优点,优势”},
{“advantageous”, “ndj.有利的,有用的”},
{“adventure”, “n.冒险,惊险活动”},
{“adventurous”, “ndj.冒险的”},
{“adverb”, “n.副词”},
{“adverbial”, “ndj.副词的”},
{“adversary”, “ndj.敌手,对手”},
{“adverse”, “v.逆的,相反的”},
{“adversity”, “n.逆境,不幸”},
{“advertise”, “v.登广告,推销”},
{“advertising”, “ndj.广告的”},
{“advertisement”, “n.广告”},
{“advice”, “n.忠告,意见”},
{“advisable”, “ndj.适当的,可行的”},
{“advise”, “v.劝告,通知”},
{“adviser”, “n.顾问”},
{“advocate”, “v.拥护,提倡”},
{“aerial”, “ndj.天空的,航空的”},
{“aeroplane”, “n.飞机”},
{“affair”, “n.事件,事情”},
{“affect”, “v.影响,改变”},
{“affection”, “n.友爱,爱慕”},
{“affectionate”, “ndj.充满感情的”},
{“affiliate”, “n.分号(公司)”},
{“affirm”, “v.断言,肯定”},
{“affirmation”, “n.确定,确认”},
{“affirmative”, “ndj.肯定的”},
{“afford”, “v.买得起,经受得起”},
{“affordable”, “ndj.买得起的”},
{“afloat”, “ndj.航行中的”},
{“aforesaid”, “ndj.上述的”},
{“afraid”, “ndj.害怕的,恐怕”},
{“africa”, “n.非洲”},
{“african”, “ndj.非洲的 n.非洲人”},
{“after”, “prep.在…后”},
{“afternoon”, “n.下午”},
{“afterward”, “ndv.后来”},
{“again”, “ndv.再,又”},
{“against”, “prep.反对,对着”},
{“age”, “n.年龄,时代”},
{“agency”, “n.代理,代理处”},
{“agent”, “n.代理人,试剂”},
{“aggravate”, “v.加重,恶化”},
{“aggravation”, “n.加重,恶化”},
{“aggregate”, “v.,n.,adj.合计(的)”},
{“aggregation”, “n.总计,集合”},
{“aggression”, “n.侵略”},
{“aggressive”, “ndj.侵略的,进取的”},
{“aggressor”, “n.侵略者”},
{“agitate”, “v.鼓动”},
{“agitation”, “n.鼓动,不安”},
{“ago”, “ndv…以前”},
{“agonize”, “v.使痛苦”},
{“agony”, “n.苦恼,痛苦”},
{“agree”, “v.同意,一致认为”},
{“agreeable”, “ndj.惬意的,易相处的”},
{“agreeably”, “ndv.欣然,依照”},
{“agreed”, “ndj.商定的”},
{“agreement”, “n.一致,协议”},
{“agricultural”, “ndj.农业的”},
{“agriculture”, “n.农业”},
{“ahead”, “ndv.在…前”},
{“aid”, “n.,v.援助,救护”},
{“aids”, “n.(缩)艾滋病”},
{“ailment”, “n.疾病”},
{“aim”, “n.目的 v.旨在,指向”},
{“aimless”, “ndj.无目的的”},
{“air”, “n.空气,气派”},
{“aircraft”, “n.航空器”},
{“airline”, “n.航线,航空公司”},
{“airliner”, “n.定期航班”},
{“airmail”, “n.航空邮件”},
{“airplane”, “n.飞机”},
{“airport”, “n.机场”},
{“airway”, “n.航线”},
{“aisle”, “n.过道,走廊”},
{“ajar”, “ndv.半开的”},
{“alarm”, “n.惊慌,警报”},
{“alarming”, “ndj.警告的”},
{“alas”, “int.唉,哎呀”},
{“album”, “n.相册,地图册”},
{“alcohol”, “n.酒精”},
{“alcoholic”, “ndj.含酒精的”},
{“alcoholism”, “n.嗜酒者,酒鬼”},
{“ale”, “n.淡啤酒”},
{“alert”, “ndj.警惕的,灵活的”},
{“algebra”, “n.代数”},
{“alien”, “ndj.异国的,异样的”},
{“alienate”, “v.疏远,转让,挪用”},
{“alienation”, “n.异化”},
{“alignment”, “n.对准,准线”},
{“alike”, “ndj.相象的”},
{“alive”, “ndj.活着的,有生命的”},
{“all”, “ndj.所有的 n.一切”},
{“allergic”, “ndj.过敏的,变态的”},
{“allergy”, “n.反感,过敏”},
{“alliance”, “n.联合,同盟”},
{“allied”, “ndj.同盟的”},
{“allocate”, “v.分配”},
{“allocation”, “n.分配”},
{“allot”, “v.分配,配给”},
{“allotment”, “n.分配,份额”},
{“allow”, “v.允许,许可”},
{“allowance”, “n.补助,津贴”},
{“alloy”, “n.合金”},
{“ally”, “n.同盟者 v.结盟”},
{“almost”, “ndv.几乎,差不多”},
{“alone”, “ndj.单独的,仅仅”},
{“along”, “prep.沿着 adv.一起”},
{“alongside”, “prep.在…旁边”},
{“aloud”, “ndv.大声地”},
{“alphabet”, “n.字母表”},
{“also”, “ndv.也”},
{“alter”, “v.改变,变动”},
{“alternate”, “v.轮流,交替”},
{“alternation”, “n.改变,变更”},
{“alternative”, “n.,v.两者取一”},
{“although”, “conj.虽然”},
{“altitude”, “n.高度”},
{“altogether”, “ndv.全部地,总共”},
{“aluminum”, “n.铝”},
{“always”, “ndv.总是,始终”},
{“a.m”, " (缩)上午"},
{“amateur”, “ndj.业余的”},
{“amaze”, “v.使惊叹”},
{“amazement”, “n.惊奇,诧异”},
{“ambassador”, “n.大使”},
{“ambient”, “ndj.周围的,包围着的”},
{“ambiguity”, “n.歧义性,意义不明处”},
{“ambiguous”, “ndj.模棱两可的”},
{“ambition”, “n.抱负,野心”},
{“ambitious”, “ndj.雄心勃勃的”},
{“ambulance”, “n.救护车”},
{“amend”, “v.修改,更正”},
{“amendment”, “n.修改(通知书)”},
{“amends”, “n.赔偿”},
{“america”, “n.美国,美洲”},
{“american”, “ndj.美国的 n.美国人”},
{“amiable”, “ndj.和蔼的,亲切的”},
{“amicable”, “ndj.友好的,和睦的”},
{“amid”, “prep.在…之间”},
{“ammunition”, “n.弹药”},
{“among”, “prep.在…之中”},
{“amount”, “n.数量,总数 v.合计”},
{“ampere”, “n.【电】安培”},
{“ample”, “ndj.宽大的,充裕的”},
{“amplification”, “n.放大”},
{“amplifier”, “n.放大器,扩音机”},
{“amplify”, “v.详述,放大”},
{“amuse”, “v.逗乐,给娱乐”},
{“amusement”, “n.娱乐,乐趣”},
{“analogue”, “n.模拟,类似物”},
{“analogy”, “n.类似,类推”},
{“analysis”, “n.分析,分解”},
{“analytical”, “ndj.分析的,解析的”},
{“analyze”, “v.分析,分解”},
{“ancestor”, “n.祖先,祖宗”},
{“anchor”, “n.锚 v.停泊”},
{“ancient”, “ndj.古老的,古代的”},
{“and”, “conj.和,与,而”},
{“anecdote”, “n.轶事,轶闻”},
{“angel”, “n.天命,安琪儿”},
{“anger”, “n.生气,愤怒”},
{“angle”, “n.角,角度”},
{“angry”, “ndj.生气的,愤怒的”},
{“angular”, “ndj.角状的”},
{“animal”, “n.动物”},
{“animate”, “v.使有活力,激活”},
{“animation”, “n.生气,生机”},
{“ankle”, “n.踝,踝骨”},
{“annex”, “n.附录,附件”},
{“anniversary”, “n.周年纪念日”},
{“announce”, “v.宣布,通报”},
{“announcement”, “n.通知”},
{“announcer”, “n.播音员”},
{“annoy”, “v.烦扰,使生气”},
{“annoyance”, “n.烦恼,麻烦事”},
{“annual”, “ndj.每年的,年度的”},
{“annually”, “ndv.每年,年年”},
{“another”, “pron.,prep.另一个”},
{“answer”, “n.答案 v.答复”},
{“ant”, “n.蚂蚁”},
{“antagonism”, “n.对立,敌对”},
{“antagonist”, “n.对手,敌手”},
{“antarctic”, “ndj.南极的”},
{“antibiotic”, “ndj.抗菌的”},
{“antecedent”, “n.触角,天线”},
{“anticipate”, “v.期望,预料”},
{“anticipation”, “n.期望,预料”},
{“antique”, “ndj.古老的 n.古玩”},
{“antonym”, “n.反义词”},
{“antonymous”, “ndj.反义的”},
{“anxiety”, “n.焦虑,担心”},
{“anxious”, “ndj.焦急的,切盼的”},
{“anxiously”, “ndv.焦急地,急切地”},
{“any”, “ndj.任何,一些”},
{“anybody”, “pron.任何人”},
{“anyhow”, “ndv.无论如何”},
{“anyone”, “pron.无论谁”},
{“anything”, “pron.无论什么”},
{“anyway”, “ndv.不管怎样”},
{“anywhere”, “ndv.无论何地”},
{“apart”, “ndv.分离,隔开”},
{“apartment”, “n.套房,公寓”},
{“ape”, “n.猿猴”},
{“apologize”, “v.道歉”},
{“apology”, “n.道歉”},
{“apparatus”, “n.仪器,设备”},
{“apparent”, “ndj.明显的,表面上的”},
{“apparently”, “ndj.显然,似乎”},
{“appeal”, “v.,n.呼吁,上诉”},
{“appealing”, “ndj.有吸引力的”},
{“appear”, “v.出现,好象”},
{“appearance”, “n.出现,外表”},
{“appendix”, “n.附录,盲肠”},
{“appetite”, “n.食欲,欲望”},
{“applaud”, “v.称赞,拍手喝彩”},
{“applause”, “n.喝彩,欢呼”},
{“apple”, “n.苹果”},
{“appliance”, “n.用具,器械”},
{“applicable”, “ndj.生动的,适用的”},
{“applicant”, “n.申请人”},
{“application”, “n.申请,应用”},
{“apply”, “v.应用,申请”},
{“appoint”, “v.任命,约定”},
{“appointment”, “n.任命,约会”},
{“appreciable”, “ndj.可看到的”},
{“appreciably”, “ndv.相当大地”},
{“appreciate”, “v.欣赏,感激”},
{“appreciation”, “n.欣赏,感激”},
{“appreciative”, “ndj.感激的”},
{“apprentice”, “n.学校”},
{“apprize”, “v.通知”},
{“approach”, “v.接近 n.途径”},
{“appropriate”, “ndj.恰当的 v.拨给”},
{“approval”, “n.同意,批准”},
{“approve”, “v.赞成,批准”},
{“approximate”, “ndj.,v.近似,约略”},
{“approximately”, “ndv.近乎,大约”},
{“approximation”, “n.近似值”},
{“april”, “n.四月”},
{“apt”, “ndj.恰当的,易于…的”},
{“aptitude”, “n.才智,天资”},
{“arab”, “n.阿拉伯”},
{“arabian”, “n.阿拉伯人,阿拉伯语”},
{“arabic”, “ndj.阿拉伯的”},
{“arbitrary”, “ndj.专横的,任意的”},
{“arbitrate”, “v.仲裁”},
{“arbitration”, “n.仲裁”},
{“arbitrator”, “n.仲裁员”},
{“arc”, “n.弧”},
{“arch”, “n.拱门,弓形”},
{“archaeologist”, “n.考古学家”},
{“archaeology”, “n.考古学”},
{“architect”, “n.建筑师”},
{“architecture”, “n.建筑学”},
{“arctic”, “ndj.北极的”},
{“ardent”, “ndj.热心的,强烈的”},
{“arduous”, “ndj.艰巨的,努力的”},
{“area”, “n.地区,面积,领域”},
{“arena”, “n.竞技场”},
{“argue”, “v.争论,辩论”},
{“argument”, “n.争论,论点”},
{“arise”, “v.起来,出现”},
{“aristocracy”, “n.贵族阶层”},
{“aristocrat”, “n.贵族”},
{“aristocratic”, “ndj.贵族的”},
{“arithmetic”, “n.算术”},
{“arm”, “n.手臂,扶手 v.武装”},
{“arms”, “n.武器”},
{“armchair”, “n.手扶椅”},
{“armour”, “n.盔甲,装甲”},
{“army”, “n.军队,陆军”},
{“around”, “ndv.在周围,大约”},
{“arouse”, “v.唤醒,唤起”},
{“arrange”, “v.整理,安排”},
{“arrangement”, “n.安排,计划”},
{“array”, “v.装扮,排列”},
{“arrear”, “n.欠款”},
{“arrest”, “v.逮捕,吸引”},
{“arrival”, “n.到达,到货”},
{“arrive”, “v.到达,达到”},
{“arrogance”, “n.傲慢”},
{“arrogant”, “ndj.傲慢的”},
{“arrogantly”, “ndv.傲慢地”},
{“arrow”, “n.箭,箭头”},
{“art”, “n.艺术,技艺”},
{“article”, “n.文章,物品,冠词”},
{“artificial”, “ndj.人造的,假的”},
{“artist”, “n.艺术家”},
{“artistic”, “n.艺术的”},
{“as”, “ndv.一样 prep.作为”},
{“ascend”, “v.登,上升”},
{“ascertain”, “v.查明,弄清”},
{“ascribe”, “v.归于”},
{“asean”, “n.(缩)东盟”},
{“ash”, “n.灰,灰烬”},
{“ashamed”, “ndj.惭愧的,羞耻的”},
{“ashore”, “ndv.在岸上,上岸”},
{“ashtray”, “n.烟灰缸”},
{“asia”, “n.亚洲”},
{“asian”, “ndj.亚洲的 n.亚洲人”},
{“aside”, “ndv.在旁边,搁在一边”},
{“ask”, “v.问,要求,邀请”},
{“asleep”, “ndj.睡着的”},
{“aspect”, “n.容貌,方面”},
{“aspirin”, “n.阿斯匹林”},
{“ass”, “n.驴,愚蠢的人”},
{“assassinate”, “v.暗杀”},
{“assassination”, “n.暗杀”},
{“assassinator”, “n.暗杀者”},
{“assault”, “v.袭击,攻击”},
{“assemble”, “v.集合,装配”},
{“assembly”, “n.集合,装配”},
{“assert”, “v.断言,宣称”},
{“assertion”, “n.断言”},
{“assess”, “v.评定,估价”},
{“assessment”, “n.估值,评价”},
{“assign”, “v.分配,指定”},
{“assignment”, “n.任务,作业”},
{“assist”, “v.协助”},
{“assistance”, “n.协助,辅助”},
{“assistant”, “n.助手”},
{“associate”, “v.联想 adv.副的”},
{“associated”, “ndj.联合的”},
{“association”, “n.协会,合营”},
{“associative”, “ndj.联想的”},
{“assorted”, “ndj.各种各样的”},
{“assortment”, “n.花色品种”},
{“assume”, “v.假定,担任”},
{“assumption”, “n.假定,假装”},
{“assurance”, “n.自信,保证”},
{“assure”, “v.使…放心,向…保证”},
{“assured”, “ndj.感到放心的”},
{“astonish”, “v.使惊讶”},
{“astonishment”, “n.惊讶”},
{“astound”, “v.使惊讶”},
{“astray”, “ndv.(信件)遗失、误传”},
{“astronaut”, “n.宇宙飞行员”},
{“astronomer”, “n.天文学家”},
{“astronomical”, “ndj.天文学的”},
{“astronomy”, “n.天文学”},
{“at”, “prep.在,处于,以”},
{“athlete”, “n.田径运动员”},
{“athletic”, “ndj.田径的”},
{“atlantic”, “n.,adj.大西洋(的)”},
{“atlas”, “n.地图集”},
{“atmosphere”, “n.大气,气氛”},
{“atmospheric”, “ndj.大气的,空气的”},
{“atom”, “n.原子,微粒”},
{“atomic”, “ndj.原子的,原子能的”},
{“attach”, “v.附着于,依恋”},
{“attachment”, “n.依附,附件,爱慕”},
{“attack”, “v.,n.进攻,侵袭”},
{“attain”, “v.赢得,到达”},
{“attempt”, “v.,n.尝试,企图”},
{“attend”, “v.出席,照顾”},
{“attendance”, “n.出勤(率),出席”},
{“attendant”, “n.随从,服务员”},
{“attention”, “n.注意,关心”},
{“attentive”, “ndj.注意的,关心的”},
{“attentively”, “ndv.关心地”},
{“attic”, “n.阁楼”},
{“attitude”, “n.态度,看法”},
{“attorney”, “n.辩护律师”},
{“attract”, “v.吸引,引力”},
{“attraction”, “ndj.有吸引力的”},
{“attributable”, “ndj.归于…的”},
{“attribute”, “v.属于 n.属性”},
{“attribution”, “n.属于”},
{“attributive”, “ndj.定语的,属性的”},
{“auction”, “n.拍卖”},
{“audience”, “n.听众,观众”},
{“auditorium”, “n.礼堂”},
{“august”, “n.八月”},
{“aunt”, “n.伯(婶、姨、姑)母”},
{“aural”, “ndj.听觉的,耳的”},
{“auspice”, “n.赞助,主办”},
{“australia”, “n.澳大利亚”},
{“australian”, “ndj.澳大利亚的”},
{“author”, “n.作者,创造者”},
{“authority”, “n.权力,权威”},
{“authorization”, “n.授权”},
{“authorize”, “v.授权,批准”},
{“autobiography”, “n.自传”},
{“automate”, “v.自动化”},
{“automatic”, “ndj.自动的”},
{“automation”, “n.自动化”},
{“automobile”, “n.汽车”},
{“autonomous”, “ndj.自治的”},
{“autonomy”, “n.自治”},
{“autumn”, “n.秋天”},
{“auxiliary”, “ndj.辅助的,补助的”},
{“avail”, “v.帮助,有用 n.效用”},
{“availability”, “n.可用性,可供货”},
{“available”, “ndj.可得到的”},
{“avenge”, “v.报复”},
{“avenue”, “n.林荫道,途径”},
{“average”, “ndj.平均的 n.平均数”},
{“averagely”, “ndv.平均”},
{“aviation”, “n.航空”},
{“avoid”, “v.避免,逃避”},
{“await”, “v.等候,等待”},
{“awake”, “v.醒来,醒悟 adj.醒的”},
{“awaken”, “ndj.醒着的”},
{“award”, “v.授予 n.奖,奖品”},
{“aware”, “ndj.知道的,意识到的”},
{“away”, “ndv.去,远离,在远处”},
{“awe”, “n.威惧”},
{“awesome”, “ndj.可怕的”},
{“awful”, “ndj.令人畏惧的”},
{“awfully”, “ndv.可怕地,非常”},
{“awkward”, “ndj.笨拙的,不熟练的”},
{“awkwardly”, “ndv.笨拙地”},
{“awkwardness”, “n.笨拙”},
{“ax”, “n.斧子”},
{“axial”, “ndj.轴的,轴向的”},
{“axis”, “n.轴,轴线,轴心”},
{“axle”, “n.(轮)轴”}

    };
    int numTranslations = sizeof(translations) / sizeof(WordTranslation);

    char inputWord[50];
    printf("\n\n请输入要翻译的单词: ");
    scanf("%s", inputWord);

    int found = 0;
    for (int i = 0; i < numTranslations; i++) {
        if (strcmp(inputWord, translations[i].english) == 0) {
            printf("%s 的翻译是: %s\n\n", inputWord, translations[i].chinese);
            found = 1;
            break;
        }
    }

    if (!found) {
        printf("未找到 %s 的翻译\n", inputWord);
    }

    printf("\n\nWanna continue想继续吗? 1.continue继续 0.exit退出\n\n");
    scanf("%d", &g);
}

return 0;

}

标签:ndj,int,英汉翻译,inputWord,编译器,include,prep,程序代码,ndv
From: https://blog.csdn.net/qq_32257509/article/details/142004626

相关文章

  • 使用CJson编写多个节点嵌套的程序代码
    CJson(或者更常见的名称可能是cJSON,一个流行的C语言JSON解析库)允许你以程序化的方式处理JSON数据,包括创建、解析、修改和删除JSON对象。这里我将展示如何使用cJSON库来创建一个包含多个嵌套节点的JSON对象。首先,确保你已经安装了cJSON库。如果你使用的是像Ubuntu这样的Linux......
  • 编译原理项目——C++实现C语言编译器输出为gcc级汇编(代码/报告材料)
    完整的代码材料见文章末尾以下为核心内容和部分结果项目介绍function.cpp实现了共有的函数lexer.cpp词法分析器get_predict_table.cpp获取预测分析表LR.cpp语法分析generate.cpp语义分析中间代码生成to_asm.cpp目标代码生成部分核心代码LR分析#include"co......
  • 详解 Visual Studio、MSVC、编译器版本,看完就不再困惑啦!
    新手在刚使用VisualStudio开发C++应用程序时往往会对其版本产生困惑,包括VisualStudio版本、MSVC版本、工具集版本等等。因此本文尝试给大家解释一下VisualStudio不同版本号的对应关系。以VisualStudio2022为例,版本信息包括:VisualStudio发布年份(营销版本号......
  • S-Clustr(影子集群) Simple SCC伪代码编译器,工业控制DSL结构语言,递归函数调用
    项目地址:https://github.com/MartinxMax/S-Clustr/releases200S-ClustrSimpleDSL语法内置函数示例RUN(启动设备)RUN:<ID>STOP(停止设备)STOP:<ID>TIME(MS延时)TIME:<Delay/Ms>函数示例DEF(定义函数名,空形参)DEFFunction:DEF(函数名,带形参)DEFFunction:var,......
  • 人工智能环境与编译器安装
    1.环境与编译器安装本文是为没有Python基础的同学,学习Python相关语法知识准备的1.Python环境安装第一步:进入【Python官网】第二步:选择你的系统,如果是Windows系统直接点击下载即可,否则选项你对应的操作系统Linux/UNIX、macOS第三步:选择合适Python版本包(一般不要选择最新......
  • c语言编译器IDE的6键钢琴程序代码
    #include<stdio.h>#include<SDL2/SDL.h>#include<SDL2/SDL_mixer.h>//FunctionforloadingmusictoMix_MusicstaticMix_Music*loadMusic(constchar*path){Mix_Music*music=Mix_LoadMUS(path);if(music==NULL){fprintf(stderr,“M......
  • c语言编译器IDE小钢琴程序代码
    #include<stdio.h>#include<SDL2/SDL.h>#include<SDL2/SDL_mixer.h>//FunctionforloadingmusictoMix_MusicstaticMix_Music*loadMusic(constchar*path){Mix_Music*music=Mix_LoadMUS(path);if(music==NULL){fprintf(stderr,“M......
  • 【树莓派开发】gcc编译器中出现warning: #pragma once in main file
    众所周知,#pragmaonce语句是防止头文件重复包含非常常用的一条语句VS编译器在创建.h文件的时候会自动帮你在开头添加这个语句但是在gcc编译器下,这个语句就可能会出现一些问题所使用编译器:VS2019(windows10)树莓派(linux-gcc)warning:#pragmaonceinmainfile在我尝试在linux环境......
  • vb6.0版本钢琴简谱播放程序代码QZQ-2024-8-30
    OptionExplicitConstINVALID_NOTE=-1’Codeforkeyboardkeysthatwedon’thandleDimnumDevicesAsLong’numberofmidioutputdevicesDimcurDeviceAsLong’currentmidideviceDimhmidiAsLong’midioutputhandleDimrcAsLong’return......
  • linux编程——认识GCC编译器
    目录一、引言二、GCC编译器简介三、GCC的主要特点四、GCC的使用方法五、GCC的高级功能六、总结一、引言  在Linux编程的广阔世界中,GCC(GNUCompilerCollection)编译器无疑是一个至关重要的工具。对于广大的开发者来说,熟练掌握GCC编译器的使用,能够极大地......